Bluetooth alsa a2dp non regression cookbook ------------------------------------------- I) PCM test tool shipped with ALSA Setup: *Download the alsa-utils source for the binary that run on your machine *build the pcm executable in the test directory Run: ./pcm -c 2 -r 48000 -Dbluetooth -m write -b 10000 ./pcm -c 2 -r 48000 -Dbluetooth -m write_and_poll -b 10000 ./pcm -c 2 -r 48000 -Dbluetooth -m direct_write -b 10000 Result: You should hear a clear sine in the headset. pcm process should not eat 100% cpu (check with top) Occasionnal sound drops are OK (due to quite short buffering of 10 ms) II) Play a file from XMMS III) Play file from totem Setup: * gconftool -t string -s /system/gstreamer/0.10/default/musicaudiosink "alsasink device=bluetooth" Run: Launch totem, then select a file for play III) PLay a file from mplayer mplayer -ao alsa:device=bluetooth filetoplay.wav