]> Repos - portaudio/commit
alsa:
authordmitrykos <dmitrykos@0f58301d-fd10-0410-b4af-bbb618454e57>
Fri, 11 Feb 2011 00:15:51 +0000 (00:15 +0000)
committerdmitrykos <dmitrykos@0f58301d-fd10-0410-b4af-bbb618454e57>
Fri, 11 Feb 2011 00:15:51 +0000 (00:15 +0000)
commit9c4c92fef6f0ef65682062870c87a29eedd79f9e
tree8eb3405895610dbecd3c1ee3342ccfac04764e36
parent4318a7556bb5ae69d9165a804f26f8ad03a47e6c
alsa:
- implemented dynamic ALSA loading, you shall define PA_ALSA_DYNAMIC when compiling PortAudio library, by default PortAudio will use compile time linkage;
- added PA_ALSA_PATHNAME define to redefine ALSA library path and filename to some other name and location, has effect only together with PA_ALSA_DYNAMIC;
- added extension function (PaAlsa_SetLibraryPathName) which allows to set ALSA library path and filename during application run-time overwriting default set by PA_ALSA_PATHNAME during compilation;
- added API compatibility with Android OS (although ALSA may not be available on your device and usually requires 'root' access rights to open an audio device), some missing ALSA functions are replaced with stubs (needs more input from interested parties), to compile on Android you need to add ALSA headers (get it from Android GIT source-code tree) to compiler's searchable path.
include/pa_linux_alsa.h
src/hostapi/alsa/pa_linux_alsa.c