We have cross compiled PJSIP for android.We are using ALSA for sound and for this enabled the flag for Alsa in config_site.h.
While cross compiling pjsip for android it looks for libasound.so library.So we cross compiled alsa-lib and alsa-utils and placed the libasound.so and alsa.conf file at android /data directory.snd_config_search_definition() : error = No such file or directory
snd_config_search_definition() : key = defaults.pcm.device
snd_config_search_definition() : key = refer
snd_config_search_definition() : error = No such file or directory
snd_config_search_definition() : key = defaults.pcm.subdevice
snd_config_search_definition() : key = refer
snd_config_search_definition() : error = No such file or directory
snd_config_search_definition() : key = defaults.namehint.extended
snd_config_search_definition() : key = plug
snd_config_search_definition() : key = plug
snd_config_search_definition() : key = shm
snd_config_search_definition() : key = shm
snd_config_search_definition() : key = tee
snd_config_search_definition() : key = tee
snd_config_search_definition() : key = file
snd_config_search_definition() : key = file
snd_config_search_definition() : key = null
snd_config_search_definition() : key = null
06:41:09.221 alsa_dev.c ..ALSA driver found 0 devices
06:41:09.221 alsa_dev.c ..ALSA initialized
We get the same kind of errors when we try running aplay -l (cross compiled alsa-utils) on adb shell.
Can we use ALSA in such a way for android?
Is there any other way to access sound devices?
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org