I follow all the step my bluetooth device it's connected. But when I start mplayer
mplayer -ao pulse Jamiroquai.mp3
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Cannot open file '/home/pi/.mplayer/input.conf': No such file or directory
Failed to open /home/pi/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.
Playing Jamiroquai.mp3.
Detected file format: MP2/3 (MPEG audio layer 2/3) (libavformat)
[mp3 @ 0x75b6b5b8]max_analyze_duration 5000000 reached
[mp3 @ 0x75b6b5b8]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: audio (mp3), -aid 0
Clip info:
encoded_by: Lavf52.16.0
Load subtitles in .
Selected audio codec: MPEG 1.0/2.0/2.5 layers I, II, III [mpg123]
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 96.7 (01:36.6) of 236.5 (03:56.5) 3.3%
My bluetooth connection is disabled automaticly and the music start in my usb sound card
dmesg | grep input
[ 2.890000] input: C-Media Electronics Inc. USB PnP Sound Device as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.3/0003:0CCD:0077.0001/input/input0
[ 2.948174] hid-generic 0003:0CCD:0077.0001: input,hidraw0: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-3f980000.usb-1.3/input3
[ 29.924972] input: 00:0C:8A:6B:8E:BD as /devices/virtual/input/input1
And I have the last version of raspberry and jessie.
Edit: When I deconected my usb sound card, the music play in my Bluetooth device. But when I would like to use alsa : Cannot open shared library /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_bluetooth.so
sudo cat /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_bluetooth.so
cat: /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_bluetooth.so: No such file or directory
Thank you very much.