summaryrefslogtreecommitdiffstats
path: root/maemo/dsp-ctl.c
Commit message (Collapse)AuthorAgeFilesLines
* Alsa support for Maemo SDK (n770) - Remove compile warningsEduardo Valentin2006-11-071-2/+2
| | | | | | | | | | | | | | | | | Here is a patch to remove compile warnings. It must be applied after last patch set I sent. This patch simply changes signedness of some point from the code to match the correct sign used by dsp-protocol structures. All must use unsigned variables. It also changes the way the pthread_mutex is initialized. The warning about pthreads is also removed. I tested the compilation with: gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19) and sbox-arm-linux-gcc (GCC) 3.4.4 (release) (CodeSourcery ARM 2005q3-2) Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
* Alsa support for Maemo SDK (n770): External Control pluginEduardo Valentin2006-11-061-0/+641
This patch file adds an ALSA External Control plugin. This source uses the dsp-protocol implementation. The plugin probes for all communication channel at the start time. It will handle only channels specified into alsa configuration file. An configuration example is: # Mixer ctl.!default { type dsp_ctl playback_devices ["/dev/dsptask/pcm2"] recording_devices ["/dev/dsptask/pcm_rec"] } Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>