Hey. I'm running AudioRecord to capture sound. It runs inside a
service. But, after the initial run after installing the app (in which
I've never seen this bug occur), the sound goes blank about 20% of the
time after 0-20 seconds of running. Audio data STILL gets captured
from the hardware, however, it is completely silent. If you examine
the console you will see that AudioHardwareQSD enters standby mode,
or  you can use the volume meter and you will see that it goes dead to
assist in seeing this bug.


05-30 11:49:37.639: DEBUG/dalvikvm(697): GC_FOR_MALLOC freed 8417
objects / 326880 bytes in 62ms
05-30 11:49:37.639: INFO/AudioHardwareQSD(59): do input routing device
40000
05-30 11:49:37.639: INFO/AudioHardwareQSD(59): Routing audio to
Speakerphone
05-30 11:49:37.650: WARN/AudioFlinger(59): RecordThread: buffer
overflow
05-30 11:49:37.780: DEBUG/AudioHardwareQSD(59): Switching audio device
to
05-30 11:49:37.780: DEBUG/AudioHardwareQSD(59): Speakerphone
05-30 11:49:37.871: INFO/AudioHardwareQSD(59): AudioHardware PCM
record is going to standby.

This bug does not occur on any other phone than the nexus. Someone
told me that AudioHardwareQSD is
related to the snapdragon audioprocessor for the second microphone.

Quickly view the relevant source in pastebin: http://pastebin.com/3xVEjiLE

The full source is here:
http://android.googlecode.com/issues/attachment?aid=551936145752851100&name=simple+%282%29.zip&token=cefaa7bb302b73fd8a393cc668b5f5ca

Which is part this bug: http://code.google.com/p/android/issues/detail?id=8732

Thanks.

-- 
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