I am new to the audio programming with ALSA LIB. I am working on a project (C language) where I need to control each output of the octosound card. I have to play different .wav or raw data(as a normal sinus) for each channel.
I am building my project following https://www.alsa-project.org/alsa-doc/a ... ample.html .
It all works great and I didn't had any problem. Now (as i said) i have to control each channel independently: how can i do it? Dmix is the correct way or there's an easier way? IF Dmix is the right way, someone has a guide?
I tried to use "speaker-test -c8 -t sine -f 500" command and it can use all channel independently (exactly what i need to do). How it works?
p.s.: There is 60mV of noise at ca. 25kHz and 3Mhz(main freq.) in my card, that's pretty ridicolous (over 1V output..). Check your cond. for clean the alimentation next time please
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests