[myTouch 3G, Magic Android Development] PowerPlop:
Thank you. :p

I have some good logcats of the audioproblem, all help is welcome.

This is the logcat, when the sound is good.

E/AudioTrack( 786): AudioFlinger could not create track, status: -22
E/SoundPool( 786): Error creating AudioTrack
I/AudioFlinger( 2411): AudioFlinger's thread 0x210d0 ready to run
V/AudioHardwareMSM72XX( 2411): open driver
V/AudioHardwareMSM72XX( 2411): get config
V/AudioHardwareMSM72XX( 2411): set config
V/AudioHardwareMSM72XX( 2411): buffer_size: 4800
V/AudioHardwareMSM72XX( 2411): buffer_count: 2
V/AudioHardwareMSM72XX( 2411): channel_count: 2
V/AudioHardwareMSM72XX( 2411): sample_rate: 44100
V/AudioHardwareMSM72XX( 2411): AudioStreamOutMSM72xx::setParameters() routing=0
V/AudioHardwareMSM72XX( 2411): set output routing 0
I/AudioHardwareMSM72XX( 2411): Routing audio to Handset
V/AudioHardwareMSM72XX( 2411): doAudioRouteOrMute() device 0, mMode 0, mMicMute
1
D/HTC Acoustic( 2411): msm72xx_enable_audpp: 0x0000

When the sound is buggy

D/HTC Acoustic( 2438): msm72xx_enable_audpp: 0x0001
D/AudioHardwareMSM72XX( 2438): setVoiceVolume(1.000000)
I/AudioHardwareMSM72XX( 2438): Setting in-call volume to 5 (available range is 0
to 5)
I/AudioPolicyService( 2438): Loaded audio policy from LEGACY Audio Policy HAL (a
udio_policy)
W/AudioFlinger( 2438): session id 10 not found for pid 2228
I/AudioFlinger( 2438): AudioFlinger's thread 0x27c98 ready to run
V/AudioHardwareMSM72XX( 2438): open driver
V/AudioHardwareMSM72XX( 2438): get config
V/AudioHardwareMSM72XX( 2438): set config
V/AudioHardwareMSM72XX( 2438): buffer_size: 4800
V/AudioHardwareMSM72XX( 2438): buffer_count: 2
V/AudioHardwareMSM72XX( 2438): channel_count: 2
V/AudioHardwareMSM72XX( 2438): sample_rate: 44100
E/AudioService( 786): Media server died.
E/AudioService( 786): Media server started.
V/AudioHardwareMSM72XX( 2438): setParameters() restarting=true
D/AudioHardwareInterface( 2438): setMode(NORMAL)
W/AudioPolicyManagerBase( 2438): setPhoneState() setting same state 0
D/AudioHardwareMSM72XX( 2438): setVoiceVolume(0.800000)
I/AudioHardwareMSM72XX( 2438): Setting in-call volume to 4 (available range is 0
to 5)
V/AudioHardwareMSM72XX( 2438): setParameters() restarting=false
V/AudioHardwareMSM72XX( 2438): AudioStreamOutMSM72xx::setParameters() routing=0
V/AudioHardwareMSM72XX( 2438): set output routing 0
I/AudioHardwareMSM72XX( 2438): Routing audio to Handset
V/AudioHardwareMSM72XX( 2438): doAudioRouteOrMute() device 0, mMode 0, mMicMute
1
D/HTC Acoustic( 2438): msm72xx_enable_audpp: 0x0000
E/AudioFlinger( 2438): createTrack_l() Bad parameter: sampleRate 44100 format 1,
channelMask 0x00000001 "for output 0x1f450 with format 1
E/AudioTrack( 786): AudioFlinger could not create track, status: -22
E/SoundPool( 786): Error creating AudioTrack
I/AudioFlinger( 2438): AudioFlinger's thread 0x1ef10 ready to run
E/AudioFlinger( 2438): createTrack_l() Bad parameter: sampleRate 44100 format 1,
channelMask 0x00000001 "for output 0x26c10 with format 1
E/AudioTrack( 2438): AudioFlinger could not create track, status: -22
E/AudioSink( 2438): Unable to create audio track
E/MediaPlayer( 2228): error (-19, 0)
I/AudioFlinger( 2438): AudioFlinger's thread 0x222e0 ready to run
E/MediaPlayer( 2228): Error (-19,0)
E/AudioFlinger( 2438): createTrack_l() Bad parameter: sampleRate 44100 format 1,
channelMask 0x00000001 "for output 0x1f450 with format 1
E/AudioTrack( 786): AudioFlinger could not create track, status: -22
E/SoundPool( 786): Error creating AudioTrack
E/AudioFlinger( 2438): createTrack_l() Bad parameter: sampleRate 44100 format 1,
channelMask 0x00000001 "for output 0x26c10 with format 1
E/AudioTrack( 2438): AudioFlinger could not create track, status: -22
E/AudioSink( 2438): Unable to create audio track
E/MediaPlayer( 2228): error (-19, 0)
E/MediaPlayer( 2228): Error (-19,0)
E/AudioFlinger( 2438): createTrack_l() Bad parameter: sampleRate 44100 format 1,
channelMask 0x00000001 "for output 0x1f450 with format 1
E/AudioTrack( 786): AudioFlinger could not create track, status: -22
E/SoundPool( 786): Error creating AudioTrack
V/AudioHardwareMSM72XX( 2438): open driver
V/AudioHardwareMSM72XX( 2438): get config
V/AudioHardwareMSM72XX( 2438): set config
V/AudioHardwareMSM72XX( 2438): buffer_size: 4800
V/AudioHardwareMSM72XX( 2438): buffer_count: 2
V/AudioHardwareMSM72XX( 2438): channel_count: 2
V/AudioHardwareMSM72XX( 2438): sample_rate: 44100
F/libc ( 2438): Fatal signal 11 (SIGSEGV) at 0x0000002d (code=1)
I/DEBUG ( 714): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 714): Build fingerprint: 'google/passion/passion:2.3.3/GRI40/102588
:user/release-keys'
I/DEBUG ( 714): pid: 2438, tid: 2441 >>> /system/bin/mediaserver <<<
I/DEBUG ( 714): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000002
d
I/DEBUG ( 714): r0 40f69d0c r1 000209c8 r2 00012a44 r3 00000001
I/DEBUG ( 714): r4 00012988 r5 40f69d0c r6 40d34fc1 r7 4003f828
I/DEBUG ( 714): r8 400fd6ad r9 000148b0 10 00100000 fp 00000001
I/DEBUG ( 714): ip 00000000 sp 40f69d08 lr 4002e4f3 pc 40d34fcc cpsr 000
00030
I/DEBUG ( 714): #00 pc 00006fcc /system/lib/hw/audio.primary.msm7k
.so
I/DEBUG ( 714): #01 pc 0002e4f0 /system/lib/libaudioflinger.so (_Z
N7android12AudioFlinger11MixerThread23checkForNewParameters_lEv)
I/DEBUG ( 714): #02 pc 00030746 /system/lib/libaudioflinger.so (_Z
N7android12AudioFlinger11MixerThread10threadLoopEv)
I/DEBUG ( 714): #03 pc 00021104 /system/lib/libutils.so (_ZN7andro
id6Thread11_threadLoopEPv)
I/DEBUG ( 714): #04 pc 0002173e /system/lib/libutils.so
I/DEBUG ( 714): #05 pc 00012e14 /system/lib/libc.so (__thread_entr
y)
I/DEBUG ( 714): #06 pc 0001295c /system/lib/libc.so (pthread_creat
e)
I/DEBUG ( 714):
I/DEBUG ( 714): code around pc:
I/DEBUG ( 714): 40d34fac 47b01c20 1c281c04 eb06f7fd 1c20b002 ..G..(.......
.
I/DEBUG ( 714): 40d34fbc 46c0bd70 6c84b570 ad01b082 1c286823 p..Fp..l....#h(
.
I/DEBUG ( 714): 40d34fcc f7fd6ade 1c29eaf4 47b01c20 1c281c04 .j....). ..G..(
.
I/DEBUG ( 714): 40d34fdc eaf2f7fd 1c20b002 46c0bd70 6fc4b570 ...... .p..Fp..
o
I/DEBUG ( 714): 40d34fec ad01b082 1c286823 f7fd6a1e 1c29eae0 ....#h(..j....)
.
I/DEBUG ( 714):
I/DEBUG ( 714): code around lr:
I/DEBUG ( 714): 4002e4d0 681158c8 ff86f7f9 68139a08 d3f2429c .X.h.......h.B.
.
I/DEBUG ( 714): 4002e4e0 d1762e00 34fc1c2c 6f239917 6a866858 ..v.,..4..#oXh.
j
I/DEBUG ( 714): 4002e4f0 1c0647b0 30781c28 78019000 29009101 .G..(.x0...x...
)
I/DEBUG ( 714): 4002e500 1c32d113 d1103226 68706f26 36e41c2e ..2.&2..&oph...
6
I/DEBUG ( 714): 4002e510 47886981 23019a00 98017013 6f216030 .i.G...#.p..0`!
o
I/DEBUG ( 714):
I/DEBUG ( 714): stack:
I/DEBUG ( 714): 40f69cc8 0002ae78 [heap]
I/DEBUG ( 714): 40f69ccc 00000120
I/DEBUG ( 714): 40f69cd0 400fd6ad /system/lib/libutils.so
I/DEBUG ( 714): 40f69cd4 000148b0 [heap]
I/DEBUG ( 714): 40f69cd8 00100000
I/DEBUG ( 714): 40f69cdc 4005995f /system/lib/libc.so
I/DEBUG ( 714): 40f69ce0 40f69d48
I/DEBUG ( 714): 40f69ce4 400fb251 /system/lib/libutils.so
I/DEBUG ( 714): 40f69ce8 40f69d04
I/DEBUG ( 714): 40f69cec 000220b0 [heap]
I/DEBUG ( 714): 40f69cf0 00000000
I/DEBUG ( 714): 40f69cf4 00000000
I/DEBUG ( 714): 40f69cf8 4003f828 /system/lib/libaudioflinger.so
I/DEBUG ( 714): 40f69cfc 40059e93 /system/lib/libc.so
I/DEBUG ( 714): 40f69d00 df0027ad
I/DEBUG ( 714): 40f69d04 00000000
I/DEBUG ( 714): #00 40f69d08 40f69d64
I/DEBUG ( 714): 40f69d0c 000129b8 [heap]
I/DEBUG ( 714): 40f69d10 00012ab4 [heap]
I/DEBUG ( 714): 40f69d14 000129b8 [heap]
I/DEBUG ( 714): 40f69d18 40d34fc1 /system/lib/hw/audio.primary.msm7k.so

I/DEBUG ( 714): 40f69d1c 4002e4f3 /system/lib/libaudioflinger.so
I/DEBUG ( 714): #01 40f69d20 00012a50 [heap]
I/DEBUG ( 714): 40f69d24 0001a03c [heap]
I/DEBUG ( 714): 40f69d28 00000000
I/DEBUG ( 714): 40f69d2c 00012a00 [heap]
I/DEBUG ( 714): 40f69d30 00012a04 [heap]
I/DEBUG ( 714): 40f69d34 000129dc [heap]
I/DEBUG ( 714): 40f69d38 000129e4 [heap]
I/DEBUG ( 714): 40f69d3c 400f60b1 /system/lib/libutils.so
I/DEBUG ( 714): 40f69d40 00012a44 [heap]
I/DEBUG ( 714): 40f69d44 00012a40 [heap]
I/DEBUG ( 714): 40f69d48 4003f518 /system/lib/libaudioflinger.so
I/DEBUG ( 714): 40f69d4c 000209c8 [heap]
I/DEBUG ( 714): 40f69d50 4003f4a8 /system/lib/libaudioflinger.so
I/DEBUG ( 714): 40f69d54 00022088 [heap]
I/DEBUG ( 714): 40f69d58 00000001
I/DEBUG ( 714): 40f69d5c 00000000
I/DEBUG ( 714): 40f69d60 00000008
I/DEBUG ( 714): 40f69d64 000220c0 [heap]
I/DEBUG ( 714): 40f69d68 000220c0 [heap]
I/DEBUG ( 714): 40f69d6c 000220c0 [heap]
I/DEBUG ( 714): 40f69d70 000220c0 [heap]
I/DEBUG ( 714): 40f69d74 000220c0 [heap]
I/DEBUG ( 714): 40f69d78 00000000
I/DEBUG ( 714): 40f69d7c 000209c8 [heap]
I/DEBUG ( 714): 40f69d80 000034bc
I/DEBUG ( 714): 40f69d84 000129b8 [heap]
I/DEBUG ( 714): 40f69d88 4002e351 /system/lib/libaudioflinger.so
I/DEBUG ( 714): 40f69d8c 000034bc
I/DEBUG ( 714): 40f69d90 4003fd08 /system/lib/libaudioflinger.so
I/DEBUG ( 714): 40f69d94 40030749 /system/lib/libaudioflinger.so
W/AudioSystem( 786): AudioFlinger server died!
W/AudioSystem( 786): AudioPolicyService server died!
W/AudioSystem( 2228): AudioFlinger server died!
W/IMediaDeathNotifier( 2228): media server died
E/MediaPlayer( 2228): error (100, 0)
I/ServiceManager( 711): service 'media.audio_flinger' died
I/ServiceManager( 711): service 'media.player' died
I/ServiceManager( 711): service 'media.camera' died
I/ServiceManager( 711): service 'media.audio_policy' died
E/MediaPlayer( 2228): Error (100,0)
I/ ( 2461): ServiceManager: 0xf958
I/HTC Acoustic( 2461): libhtc_acoustic.so version 1.0.1.2.
E/HTC Acoustic( 2461): Fail to open /system/etc/AudioPara_VODA-Proximus.csv -1.
I/HTC Acoustic( 2461): open /system/etc/AudioPara4.csv success.
I/HTC Acoustic( 2461): acoustic table version: Sapphire_VODAFONE_20090305
I/HTC Acoustic( 2461): read_audio_para_from_file success.
I/HTC Acoustic( 2461): get_audpp_filter
I/HTC Acoustic( 2461): open /system/etc/AudioFilter.csv success.
I/HTC Acoustic( 2461): ADRC Filter ADRC FLAG = ffff.
I/HTC Acoustic( 2461): ADRC Filter COMP THRESHOLD = 2600.
I/HTC Acoustic( 2461): ADRC Filter COMP SLOPE = b333.
I/HTC Acoustic( 2461): ADRC Filter COMP RMS TIME = 106.
I/HTC Acoustic( 2461): ADRC Filter COMP ATTACK[0] = 7f7d.
I/HTC Acoustic( 2461): ADRC Filter COMP ATTACK[1] = 3096.
I/HTC Acoustic( 2461): ADRC Filter COMP RELEASE[0] = 7ff7.
I/HTC Acoustic( 2461): ADRC Filter COMP RELEASE[1] = 4356.
I/HTC Acoustic( 2461): ADRC Filter COMP DELAY = 16.
I/HTC Acoustic( 2461): EQ flag = 00.
I/HTC Acoustic( 2461): get_audpre_filter
I/HTC Acoustic( 2461): open /system/etc/AudioPreProcess.csv success.
D/AudioHardwareMSM72XX( 2461): mNumSndEndpoints = 67
V/AudioHardwareMSM72XX( 2461): constructed 67 SND endpoints)
D/AudioHardwareMSM72XX( 2461): BT MATCH HANDSET
D/AudioHardwareMSM72XX( 2461): BT MATCH SPEAKER
D/AudioHardwareMSM72XX( 2461): BT MATCH HEADSET
D/AudioHardwareMSM72XX( 2461): BT MATCH BT
D/AudioHardwareMSM72XX( 2461): BT MATCH CARKIT
D/AudioHardwareMSM72XX( 2461): BT MATCH TTY_FULL
D/AudioHardwareMSM72XX( 2461): BT MATCH TTY_VCO
D/AudioHardwareMSM72XX( 2461): BT MATCH TTY_HCO
D/AudioHardwareMSM72XX( 2461): BT MATCH NO_MIC_HEADSET
D/AudioHardwareMSM72XX( 2461): BT MATCH FM_HEADSET
D/AudioHardwareMSM72XX( 2461): BT MATCH HEADSET_AND_SPEAKER
D/AudioHardwareMSM72XX( 2461): BT MATCH FM_SPEAKER
D/AudioHardwareMSM72XX( 2461): BT MATCH BT_EC_OFF
D/AudioHardwareMSM72XX( 2461): BT MATCH CURRENT
D/AudioHardwareMSM72XX( 2461): BT MATCH BT_EC_OFF
I/AudioFlinger( 2461): Loaded primary audio interface from LEGACY Audio HW HAL (
audio)
I/AudioFlinger( 2461): Using 'LEGACY Audio HW HAL' (audio.primary) as the primar
y audio interface
I/AudioFlinger( 2461): Loaded a2dp audio interface from A2DP Audio HW HAL (audio
)
D/AudioHardwareInterface( 2461): setMode(NORMAL)
I/AudioHardwareMSM72XX( 2461): Set master volume to 5.
I/CameraService( 2461): CameraService started (pid=2461)
E/CameraHAL( 2461): CameraHAL_GetNum_Cameras:
I/AudioFlinger( 2461): AudioFlinger's thread 0x129b8 ready to run
V/AudioHardwareMSM72XX( 2461): AudioStreamOutMSM72xx::setParameters() routing=2
V/AudioHardwareMSM72XX( 2461): set output routing 2
I/AudioHardwareMSM72XX( 2461): Routing audio to Speakerphone
V/AudioHardwareMSM72XX( 2461): doAudioRouteOrMute() device 1, mMode 0, mMicMute
1
D/HTC Acoustic( 2461): msm72xx_enable_audpp: 0x0001
D/AudioHardwareMSM72XX( 2461): setVoiceVolume(1.000000)
I/AudioHardwareMSM72XX( 2461): Setting in-call volume to 5 (available range is 0
to 5)
I/AudioPolicyService( 2461): Loaded audio policy from LEGACY Audio Policy HAL (a
udio_policy)
E/AudioService( 786): Media server died.
E/AudioService( 786): Media server started.
V/AudioHardwareMSM72XX( 2461): setParameters() restarting=true
D/AudioHardwareInterface( 2461): setMode(NORMAL)
W/AudioPolicyManagerBase( 2461): setPhoneState() setting same state 0
D/AudioHardwareMSM72XX( 2461): setVoiceVolume(0.800000)
I/AudioHardwareMSM72XX( 2461): Setting in-call volume to 4 (available range is 0
to 5)
V/AudioHardwareMSM72XX( 2461): setParameters() restarting=false
D/PhoneUtils( 1002): hangup(): no active call to hang up
I/power ( 786): *** set_screen_state 0
W/WindowManager( 786): Failure taking screenshot for (120x180) to layer 21020
W/AudioFlinger( 2461): session id 11 not found for pid 2228
D/AKMD ( 723): Compass CLOSE
V/AudioHardwareMSM72XX( 2461): setParameters() screen_state=off
W/NetworkManagementSocketTagger( 786): setKernelCountSet(1000, 0) failed with e
rrno -2
W/NetworkManagementSocketTagger( 786): setKernelCountSet(10017, 0) failed with
errno -2
D/SurfaceFlinger( 716): About to give-up screen, flinger = 0xf918
V/TransportControlView( 786): Create TCV com.android.internal.widget.TransportC
ontrolView@4127b430
D/PhoneStatusBar( 973): disable: < EXPAND* icons alerts TICKER* system_info bac
k home RECENT* clock >
E/AudioFlinger( 2461): createTrack_l() Bad parameter: sampleRate 44100 format 1,
channelMask 0x00000001 "for output 0x16bc8 with format 1
E/AudioTrack( 786): AudioFlinger could not create track, status: -22
E/SoundPool( 786): Error creating AudioTrack
I/AudioFlinger( 2461): AudioFlinger's thread 0x154b0 ready to run

Some one knows what is happening?:D