Hi All, I am working on the eclair code base. And I just started enabling BlueZ and started working on it. The basic profiles seems to be working fine. But When I play media on my headset there is a time delay oocured when playing the media on headset and hence after 2 seconds of play it stops for 2 seconds and plays again. During this process I saw error message "a2dp_write failed err: -110".
1-01 00:09:48.980: INFO/AudioHardwareALSA(1991): Initialized ALSA PLAYBACK device AndroidPlayback_Speaker_normal 01-01 00:09:48.980: DEBUG/AudioHardwareALSA(1991): Set PLAYBACK PCM format to S16_LE (Signed 16 bit Little Endian) 01-01 00:09:48.985: DEBUG/AudioHardwareALSA(1991): Using 2 channels for PLAYBACK. 01-01 00:09:48.985: DEBUG/A2DP(1991): ********** a2dp_write ********** 01-01 00:09:48.990: DEBUG/A2DP(1991): bluetooth_start 01-01 00:09:49.000: DEBUG/AudioHardwareALSA(1991): Set PLAYBACK sample rate to 44100 HZ 01-01 00:09:49.000: DEBUG/AudioHardwareALSA(1991): Buffer size: 4096 01-01 00:09:49.000: DEBUG/AudioHardwareALSA(1991): Latency: 92879 01-01 00:09:49.080: INFO/vold(3225): Android Volume Daemon version 2.0 01-01 00:09:49.465: WARN/AudioFlinger(1991): OutputTrack::write() 0x23cc0 no more overflow buffers 01-01 00:09:49.490: DEBUG/A2DP(1991): wait_for_start: 500575 us 01-01 00:09:49.490: ERROR/A2dpAudioInterface(1991): a2dp_write failed err: -110 01-01 00:09:49.500: WARN/AudioFlinger(1991): write blocked for 512 msecs, thread 0x23658 01-01 00:09:49.500: DEBUG/A2DP(1991): ********** a2dp_write ********** 01-01 00:09:49.705: WARN/AudioFlinger(1991): OutputTrack::write() 0x23cc0 no more overflow buffers 01-01 00:09:49.820: WARN/AudioFlinger(1991): OutputTrack::write() 0x23cc0 no more overflow buffers 01-01 00:09:49.930: DEBUG/A2DP(1991): Received BT_RESPONSE - BT_START_STREAM 01-01 00:09:49.930: DEBUG/A2DP(1991): Received BT_RESPONSE - BT_NEW_STREAM 01-01 00:09:49.930: DEBUG/A2DP(1991): wait_for_start: 431150 us 01-01 00:09:49.930: DEBUG/A2DP(1991): poll: 20 us 01-01 00:09:49.930: DEBUG/A2DP(1991): send: 189 us 01-01 00:09:49.930: DEBUG/A2DP(1991): avdtp_write: 297 us I tried reducing the bitpool till 20 and tried but I did not see any variation in the performance. As of now I am using the Baud rate of 115200 should I increase the baud rate. If yes please let me know how can I do that since hciconfig hci0 up is not working with baud rate more than 115200. waiting for ur reply guys Thnaks in Advance! -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting