<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: imx6 bluetooth with headset_head_unit profile in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-bluetooth-with-headset-head-unit-profile/m-p/740319#M115223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the clock source properly selected for this device driver?&amp;nbsp; you may check the driver setting first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is better to ask&amp;nbsp; &lt;A class="" href="http://www.variscite.com/support/variscite-customer-portal" rel="nofollow"&gt;Variscite Customer Portal&lt;/A&gt; for their board and bsp support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2018 06:36:54 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2018-04-02T06:36:54Z</dc:date>
    <item>
      <title>imx6 bluetooth with headset_head_unit profile</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-bluetooth-with-headset-head-unit-profile/m-p/740318#M115222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone recorded bluetooth audio successfully from a headset_head_unit device using an imx6, could you please provide advice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an imx6 dartboard for bluetooth audio capture with a bluetooth headset device, for some reason it seems that audio is being capture very fast, for example if I record audio for 12 seconds the resulting file is about 4-6 seconds, audio sounds very high pitched due to the fast audio, if I connect my cellphone audio is recorded as expected, that means I record 12 seconds and created file is 12 seconds and pitch is the same as the expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am building software from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fvarigit%2Fvariscite-bsp-platform.git" rel="nofollow" target="_blank"&gt;https://github.com/varigit/variscite-bsp-platform.git&lt;/A&gt;&lt;SPAN&gt; rocko release and the bitbake command if for a var-som-mx6 board: MACHINE=var-som-mx6 DISTRO=fslc-framebuffer . setup-environment build_fb and linux is: Linux var-som-mx6 4.9.11-mx6+g8acc1a4&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For doing audio record I use a Gstreamer pipeline:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gst-launch-1.0 headset recording (fast audio):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;gst-launch-1.0 -v pulsesrc device=bluez_source.50_1A_A5_F5_D1_1E.headset_head_unit ! 'audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)8000, channels=(int)1' ! flacenc ! filesink location=rec.flac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gst-launch-1.0 cellphone audio recording (working ok):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;gst-launch-1.0 -v pulsesrc device=bluez_source.C0_EE_FB_42_C3_FD.a2dp_source ! 'audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)8000, channels=(int)1' ! flacenc ! filesink location=rec.flac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have configured pulse audio for 8kHz and one channel at: /etc/pulse/ files. But even after that, when connecting a device with headset_head_unit profile audio is not being provided as expected, is hint and/or tip is highly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 16:53:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-bluetooth-with-headset-head-unit-profile/m-p/740318#M115222</guid>
      <dc:creator>carlosaguero</dc:creator>
      <dc:date>2018-03-27T16:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 bluetooth with headset_head_unit profile</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-bluetooth-with-headset-head-unit-profile/m-p/740319#M115223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the clock source properly selected for this device driver?&amp;nbsp; you may check the driver setting first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is better to ask&amp;nbsp; &lt;A class="" href="http://www.variscite.com/support/variscite-customer-portal" rel="nofollow"&gt;Variscite Customer Portal&lt;/A&gt; for their board and bsp support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 06:36:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-bluetooth-with-headset-head-unit-profile/m-p/740319#M115223</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2018-04-02T06:36:54Z</dc:date>
    </item>
  </channel>
</rss>

