Failed to open busy device on android platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,
        Now, I port pjsip on android platform. I have few troubles on voice call.
1: Execute simpleua under beagle board
2: android media service block audio output device. So I got the log as below:
03:21:45.940       pa_dev.c  PA message: OpenPcm: Failed to open busy device 'hw:0,0'
       03:21:45.941       pa_dev.c  PA message: Default input device: omap3beagle:  (hw:0,0)
       03:21:45.941       pa_dev.c  PA message: FillInDevInfo: Adding device omap3beagle:  (hw:0,0): 0

I try to modify code to route input/output voice data from/to AudioTrack and AudioRecord.
But pjmedia_aud_stream_create() will check input/output device and return fail. Log as below:
simpleua.c  Unable to create sound player: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [code=420006]

Is there any way to disable device checking? If I force to disable it, it causes segmentation fault.

How can I make a call without checking audio device and play/record callback normally.

Thanks for your BIG BIG help in advanced.

BR,
Duncan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091023/7460cbc9/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux