I comment the line "stopAudioPlayback();" in file SoundRecorder.java, so the Soundrecord and music playback work at the same time. however, the error comes as :
I/DEBUG ( 1847): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 1847): Build fingerprint: .../:1.5/CUPCAKE/eng.XXXX. 20090506.190953:eng/test-keys' I/DEBUG ( 1847): pid: 1850, tid: 1864 >>> /system/bin/mediaserver <<< I/DEBUG ( 1847): signal 11 (SIGSEGV), fault addr 0000000c I/DEBUG ( 1847): r0 00000000 r1 4030adec r2 00000001 r3 00000300 I/DEBUG ( 1847): r4 00000000 r5 00000300 r6 00000001 r7 00000300 I/DEBUG ( 1847): r8 00000000 r9 00038438 10 00022c38 fp 00000001 I/DEBUG ( 1847): ip ab798e48 sp 4030adb8 lr afe13e8b pc afe13bec cpsr 20000030 W/AudioFlinger( 1850): write blocked for 50 msecs I/DEBUG ( 1847): #00 pc 00013bec /system/lib/libc.so I/DEBUG ( 1847): #01 pc 00013e86 /system/lib/libc.so I/DEBUG ( 1847): #02 pc 0005aa6c /system/lib/libaudio.so I/DEBUG ( 1847): #03 pc 0004c360 /system/lib/libaudio.so I/DEBUG ( 1847): #04 pc 0001e36c /system/lib/libaudio.so I/DEBUG ( 1847): 4030ae08 40bf1080 I/DEBUG ( 1847): 4030ae0c ab75aa70 /system/lib/libaudio.so and then I/ServiceManager( 1845): service 'media.audio_flinger' died I/ServiceManager( 1845): service 'media.player' died I/ServiceManager( 1845): service 'media.camera' died W/MediaPlayer( 1984): MediaPlayer server died! and then, the audio service restart. the audio flinger thread won't work for the mediarecord. do you have the same problem --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---