I'm developing simple voip application on 2.3.3 using standard Android
API. What is suprising, on my emulator it works great, I can hear my
callee voice and mine is heard to.

/**
(...)
public void onCallEstablished(SipAudioCall call) {
                                // TODO Auto-generated method stub
                                Log.i("SIPListener", 
"super.onCallEstablished(call)");
                                for (VoIPListener listener : vec) {
                                        Log.i(TAG, "calling 
onCallEstablished()");
                                        listener.onCallEstablished();
                                }
                                call.startAudio();
                                call.setSpeakerMode(true);
                                call.toggleMute();

                        }
(...)
**/
But when I'm testing it on my Galaxy S Plus 2.3.3 GT-I9001
Gingerbread.XXKG3 I get following errors :

09-20 13:41:57.874: VERBOSE/AudioPolicyManager(114):
getDeviceForStrategy() strategy 3, device 2
09-20 13:41:57.874: VERBOSE/AudioPolicyManager(114): setOutputDevice()
output 1 device 0 delayMs 0
09-20 13:41:57.874: VERBOSE/AudioPolicyManager(114): setOutputDevice()
setting same device 0 or null device for output 1
09-20 13:41:57.884: VERBOSE/AudioPolicyManager(114):
getDeviceForStrategy() from cache strategy 1, device 2
09-20 13:41:57.884: VERBOSE/AudioPolicyManager(114): getOutput()
stream 0, samplingRate 0, format 0, channels c, flags 0
09-20 13:41:57.884: VERBOSE/AudioPolicyManager(114):
getDeviceForStrategy() from cache strategy 1, device 2
09-20 13:41:57.884: VERBOSE/AudioPolicyManager(114): getOutput()
stream 0, samplingRate 8000, format 1, channels 4, flags 0
09-20 13:41:57.884: WARN/AudioPolicyManager(114): getInput() invalid
input source 7
09-20 13:41:57.884: VERBOSE/AudioPolicyManager(114):
getDeviceForInputSource()input source 7, device 00000000
09-20 13:41:57.884: VERBOSE/AudioPolicyManager(114): getInput()
inputSource 7, samplingRate 8000, format 1, channels 10, acoustics 0
09-20 13:41:57.884: ERROR/AudioRecord(4228): Could not get audio input
for record source 7
09-20 13:41:57.884: ERROR/AudioGroup(4228): cannot initialize audio
device
09-20 13:41:57.884: VERBOSE/AudioPolicyManager(114): releaseOutput()

>From some reason audio device cannot be initialized. Any clue why?

Thank you for your help,
Alex

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to