"Beeping has failed" is when an error is thrown when using ToneGenerator.
It's probably related to not finding any hardware.
Step 1: Does the View USB show the device and have little black dots on the end that indicate that drivers are loaded?
Setp 2: What does this say:
Code:
#alsa_aplay -L
default:CARD=Dummy
Dummy, Dummy PCM
Default Audio Device
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=default
C-Media USB Audio Device , USB Audio
Default Audio Device
I tried again to play an audio file using alsa_aplay, it used to work.
I can't seen to get it to work now, despite normal file manager playing of MP3s working fine.
I'll have to look into that one too.
Oops, I was playing a blank file.
Step 3: The first time that you run AudioCtl after plugging in your USB audio adapter do you get this in logcat?
Code:
D/Temblast( 1321): Setting speakerphone on
I/DEBUG ( 980): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 980): Build fingerprint: 'generic/zoom2/zoom2/zoom2:2.1/ERD79/1.1.2:user/test-keys'
I/DEBUG ( 980): pid: 983, tid: 983 >>> /system/bin/mediaserver <<<
I/DEBUG ( 980): signal 11 (SIGSEGV), fault addr fffffff4
I/DEBUG ( 980): r0 fffffff4 r1 bec319b8 r2 00000000 r3 000207c8
I/DEBUG ( 980): r4 000207c0 r5 00000000 r6 00000000 r7 00020588
I/DEBUG ( 980): r8 00000000 r9 00000000 10 00000000 fp 00000000
I/DEBUG ( 980): ip 00000008 sp bec319c8 lr a9d1c56b pc ab884c9e cpsr 80000030
That is, does it kill mediaserver?
|