<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ZH-CN link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Basically I think it’s an alsa configuration issue. You may
need to check your alsa configuration file and create a Bluetooth device inside
it.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Please see below as an example. And then search on the internet
to find more info.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'>pcm.m_voice{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'> type bluetooth<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'> device "00:07:A4:B5:D8:9E" #optional, connects
to specific device instead the default one<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'> profile "voice" #optional, supported
profiles are: auto, hifi and voice <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'>pcm.bluetooth{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'> type bluetooth <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'> device "00:07:A4:B5:D8:9E" #optional, connects
to specific device instead the default one<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'> profile "hifi" #optional, supported
profiles are: auto, hifi and voice <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'>pcm.hd{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'> type hw<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'> device 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'> card 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'>pcm.!default{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'> type plug<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'> slave.pcm "hd"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> satish kumar [mailto:gsatish10@gmail.com] <br>
<b>Sent:</b> Monday, May 31, 2010 8:06 PM<br>
<b>To:</b> gstreamer-devel@lists.sourceforge.net<br>
<b>Subject:</b> [gst-devel] blue tooth issue with gstreamer<o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US> Hi all<br>
<br>
I need "aplay" command format to play audio song in BT headset
(what are presettings to play headset<br>
I am palying giving following commands. <br>
<br>
Killall hcid<br>
uim /dev/ttyO1 3686400 none /sys/uim/pid & <br>
hciconfig hci0 up <br>
hciconfig -a <br>
hcid -s -f /etc/bluetooth/hcid.conf<br>
<br>
and I am giving amixer seting commands as per I3.7-Pre2 release.<br>
<br>
amixer cset name='HandsfreeL Mux' 2<br>
amixer cset name='HandsfreeL Switch' 1<br>
amixer cset name='HandsfreeR Mux' 2<br>
amixer cset name='HandsfreeR Switch' 1<br>
amixer cset name='DAC2 Analog Playback Volume' 16 amixer cset name='HeadsetL
Mixer AudioL2' 1 amixer cset name='HeadsetR Mixer AudioR2' 1 amixer cset
name='Analog Left Main Mic Capture Switch' 1 amixer cset name='Analog Right Sub
Mic Capture Switch' 1 amixer cset name='Analog Left Headset Mic Capture Switch'
1<br>
<br>
Once it is done I am paring headset to zoom3 Device. <br>
When I am playing "gst-launch filesrc location" <br>
<br>
gst-launch filesrc location=satish/track4.mp3 ! mp3parse ! goodec_mp3 ! a<br>
lsasink device=bluetooth<br>
<br>
<br>
I am getting the error as <br>
<br>
MP3 Decoder string device :i/:o//codec Setting pipeline to PAUSED
...<br>
ERROR: Pipeline doesn't want to pause.<br>
ERROR: from element /GstPipeline:pipeline0/<o:p></o:p></span></p>
<div id=":xy">
<p class=MsoNormal><span lang=EN-US>GstAlsaSink:alsasink0: Could not open
audio device for playback.<br>
Additional debug info:<br>
gstalsasink.c(690): gst_alsasink_open ():
/GstPipeline:pipeline0/GstAlsaSink:als<br>
asink0:<br>
Playback open error on device 'bluetooth': No such file or directory Setting
pipeline to NULL ...<br>
Total time: 0.000000 seconds<br>
Freeing pipeline ...<br>
˜7<br>
µ„<@˜7<br>
<br>
<br>
<br>
I am using gstreamer 0.10 version<br>
Linux 2.6.32 RC7 kernel<br>
Board is zoom3.<br>
<br>
<br>
Can you please help me out what are reasons for the above error.<br>
<br>
<br>
<br>
And I am giving aplay command in the following format.<br>
Aplay -D bluetooth track4.wav<br>
<br>
I am getting error as <br>
<br>
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM bluetooth<br>
aplay: main:608: audio open error: No such file or directory<o:p></o:p></span></p>
</div>
</div>
</body>
</html>