我正在尝试在我的三星Galaxy S上启动示例VoIP应用程序。在模拟器应用程序中工作就像一个魅力,但在手机测试期间我得到:
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()
结果是手机没有捕捉到任何内容,也没有通过扬声器播放语音。
感谢您的帮助。