summaryrefslogtreecommitdiffstats
path: root/maemo
Commit message (Collapse)AuthorAgeFilesLines
* Mark as static the functions not used outside their unit.Diego E. 'Flameeyes' Pettenò2008-11-212-5/+5
| | | | | | | This allows the compiler to assume more about their interface, if at all possible. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
* Make some static tables and strings constants.Diego E. 'Flameeyes' Pettenò2008-11-211-5/+5
| | | | | | | | | | | By doing this we move them from the .data section to .rodata setion, or from .data.rel to .data.rel.ro. The .rodata section is mapped directly from the on-disk file, which is always a save, while .data.rel.ro is mapped directly when using prelink, which is a save in a lot of cases. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
* [RFC] Don't use pow() for calculating a power of 2, use shift instead.Diego E. 'Flameeyes' Pettenò2008-11-212-3/+3
| | | | | | | This assumes that the power2 argument is in the 0-32 range, so this need to be carefully checked. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
* Cleanup flags in maemo/Makefile.amDiego E. 'Flameeyes' Pettenò2008-11-211-4/+4
| | | | | | | | | Pass libraries on LIBADD rather than LDFLAGS, don't link to libdl since it's unneeded, no need to pass -shared since libtool's -module takes care of that, the same goes for -fPIC -DPIC (which might not even be the right option). Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
* Check for --no-undefined linker flag and use it.Diego E. 'Flameeyes' Pettenò2008-11-211-1/+1
| | | | | | | This adds extra safety that the built libraries will have all the correct dependencies linked in. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
* Fix close in maemo callbackTakashi Iwai2008-06-061-1/+1
| | | | | | | | | ALSA bug#3035: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3035 Use dbus_connection_unref() instead of the deprecated dbus_connection_close(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Various plugins don't support "hint" sectionsTakashi Iwai2008-06-062-2/+2
| | | | | | | | | Ignore hint sections defined by hand. Those are heplful to get listed in various places, such as aplay -L ALSA bug#3834: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3834 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Add -no-undefined option to LDFLAGSTakashi Iwai2007-06-041-3/+3
| | | | Added -no-undefined option to LDFLAGS to make linking sure.
* Add plugin directory configure optionTakashi Iwai2007-05-031-2/+2
| | | | | Added --with-plugindir configure option to specify the directory for plugin objects.
* release 1.0.14rc1v1.0.14rc1aJaroslav Kysela2006-12-111-0/+2
| | | | Patch-level: Merged
* Alsa support for Maemo SDK (n770) - Remove compile warningsEduardo Valentin2006-11-074-17/+17
| | | | | | | | | | | | | | | | | 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): Build configurationEduardo Valentin2006-11-061-0/+15
| | | | | | | | This patch file changes the build configuration files to add alsa-dsp plugin to communicate with n770 system. 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>
* Alsa support for Maemo SDK (n770): External PCM IO pluginEduardo Valentin2006-11-061-0/+772
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch file adds an ALSA External PCM I/O plugin. This source uses the dsp-protocol implementation. The plugin probes for a free communication channel at the start time. It will probe only for channels specified into the configuration file for the plugin. An configuration example is: # PCM pcm.!default { type alsa_dsp playback_device_file ["/dev/dsptask/pcm2"] recording_device_file ["/dev/dsptask/pcm_rec"] } The plugin supports the following: * Playback: o 16-bit PCM formats: + S16_LE + S16_BE + U16_LE + U16_BE o 8-bit PCM formats: + A_LAW + MU_LAW + U8 + S8 o Rates: + 8 KHz + 11.025 KHz + 12 KHz + 16 KHz + 22.050 KHz + 24 KHz + 32 KHz + 44.1 KHz + 48 KHz o Channels: + Mono + Stereo * Recording: o 16-bit PCM formats: + S16_LE o 8-bit PCM formats: + A_LAW + MU_LAW o Rates: + 8 KHz o Channels + Mono Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
* Alsa support for Maemo SDK (n770): DSP protocolEduardo Valentin2006-11-062-0/+1334
| | | | | | This patch file adds communication protocol with maemo SDK audio system. Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
* Alsa support for Maemo SDK (n770): Header filesEduardo Valentin2006-11-065-0/+862
This patch file adds header files needed by alsa-dsp plugin. Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>