<?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 IMX8 Mini Bluetooth A2DP in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-Mini-Bluetooth-A2DP/m-p/930855#M139623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using IMX8 Mini EVK and I try to play music using Bluetooth AD2P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So far, I am able to pair and connect to my Bluetooth speaker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output of bluetoothctl:&lt;BR /&gt;[BAM Headset 00013]# info 20:71:9B:10:00:13&lt;BR /&gt;Device 20:71:9B:10:00:13 (public)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Name: BAM Headset 00013&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Alias: BAM Headset 00013&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Class: 0x00240418&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Icon: audio-card&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Paired: yes&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Trusted: yes&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Blocked: no&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Connected: yes&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;LegacyPairing: no&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: Serial Port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (00001101-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: Audio Sink&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0000110b-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: A/V Remote Control&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0000110e-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: Handsfree&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0000111e-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: PnP Information&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (00001200-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Modalias: bluetooth:v000Fp0401d0001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the speaker with my Ubuntu laptop and it is working well in AD2P mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I launched pulseaudio in system mode and I can see from the logs that bluetooth modules are loaded:&lt;BR /&gt;# pulseaudio -vvvv --system&lt;BR /&gt;...&lt;BR /&gt;I: [pulseaudio] module.c: Loaded "module-bluez5-discover" (index: #11; argument: "").&lt;BR /&gt;D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-11.1/modules/module-bluez4-discover.so': failure&lt;BR /&gt;I: [pulseaudio] module.c: Loaded "module-bluetooth-discover" (index: #10; argument: "").&lt;BR /&gt;I: [pulseaudio] module.c: Loaded "module-bluetooth-policy" (index: #12; argument: "").&lt;BR /&gt;I: [pulseaudio] module.c: Loaded "module-switch-on-connect" (index: #13; argument: "").&lt;BR /&gt;D: [pulseaudio] main.c: Got org.pulseaudio.Server!&lt;BR /&gt;I: [pulseaudio] main.c: Daemon startup complete.&lt;BR /&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Bluetooth sound card is detected correctly under pulseaudio:&lt;BR /&gt;# pactl list cards&lt;BR /&gt;Card #1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Name: bluez_card.20_71_9B_10_00_13&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Driver: module-bluez5-device.c&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Owner Module: 16&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Properties:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.description = "BAM Headset 00013"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.string = "20:71:9B:10:00:13"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.api = "bluez"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.class = "sound"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.bus = "bluetooth"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.form_factor = "headphone"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.path = "/org/bluez/hci0/dev_20_71_9B_10_00_13"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.class = "0x240418"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.alias = "BAM Headset 00013"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.icon_name = "audio-headphones-bluetooth"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Profiles:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 10, available: yes)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 20, available: no)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;off: Off (sinks: 0, sources: 0, priority: 0, available: yes)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Active Profile: a2dp_sink&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Ports:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;headphone-output: Headphone (priority: 0, latency offset: 0 usec, available)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Part of profile(s): a2dp_sink, headset_head_unit&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;headphone-input: Bluetooth Input (priority: 0, latency offset: 0 usec, not available)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Part of profile(s): headset_head_unit&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;# pactl list sinks&lt;BR /&gt;Sink #5&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;State: IDLE&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Name: bluez_sink.20_71_9B_10_00_13.a2dp_sink&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Description: BAM Headset 00013&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Driver: module-bluez5-device.c&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Sample Specification: s16le 2ch 48000Hz&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Channel Map: front-left,front-right&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Owner Module: 18&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Mute: no&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Volume: front-left: 65536 / 100% / 0.00 dB,&amp;nbsp;&amp;nbsp; front-right: 65536 / 100% / 0.00 dB&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; balance 0.00&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Base Volume: 65536 / 100% / 0.00 dB&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Monitor Source: bluez_sink.20_71_9B_10_00_13.a2dp_sink.monitor&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Latency: 43009 usec, configured 38333 usec&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Flags: HARDWARE DECIBEL_VOLUME LATENCY &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Properties:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluetooth.protocol = "a2dp_sink"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.description = "BAM Headset 00013"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.string = "20:71:9B:10:00:13"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.api = "bluez"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.class = "sound"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.bus = "bluetooth"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.form_factor = "headphone"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.path = "/org/bluez/hci0/dev_20_71_9B_10_00_13"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.class = "0x240418"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.alias = "BAM Headset 00013"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.icon_name = "audio-headphones-bluetooth"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Ports:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;headphone-output: Headphone (priority: 0, available)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Active Port: headphone-output&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Formats:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pcm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Trouble appear when I try to play a file. &lt;BR /&gt;Here is the command launched to play a 1kHz tone:&lt;BR /&gt;# paplay -v /usr/share/soundcard-test-config/tone_1000.wav &lt;BR /&gt;Opening a playback stream with sample specification 's16le 2ch 48000Hz' and channel map 'front-left,front-right'.&lt;BR /&gt;Connection established.&lt;BR /&gt;Stream successfully created.&lt;BR /&gt;Buffer metrics: maxlength=4194304, tlength=384000, prebuf=380164, minreq=3840&lt;BR /&gt;Using sample spec 's16le 2ch 48000Hz', channel map 'front-left,front-right'.&lt;BR /&gt;Connected to device bluez_sink.20_71_9B_10_00_13.a2dp_sink (index: 1, suspended: no).&lt;BR /&gt;Stream started.&lt;BR /&gt;Playback stream drained.y: 5517 usec.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Draining connection to server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below are the logs of pulseaudio -vvvv --system:&lt;BR /&gt;D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s16le\""&amp;nbsp; format.rate = "48000"&amp;nbsp; format.channels = "2"&amp;nbsp; format.channel_map = "\"front-left,front-right\""&lt;BR /&gt;I: [pulseaudio] sink-input.c: Trying to change sample rate&lt;BR /&gt;D: [pulseaudio] module-suspend-on-idle.c: Sink bluez_sink.20_71_9B_10_00_13.a2dp_sink becomes busy, resuming.&lt;BR /&gt;D: [pulseaudio] resampler.c: Resampler:&lt;BR /&gt;D: [pulseaudio] resampler.c:&amp;nbsp;&amp;nbsp; rate 48000 -&amp;gt; 44100 (method ffmpeg)&lt;BR /&gt;D: [pulseaudio] resampler.c:&amp;nbsp;&amp;nbsp; format s16le -&amp;gt; s16le (intermediate s16le)&lt;BR /&gt;D: [pulseaudio] resampler.c:&amp;nbsp;&amp;nbsp; channels 2 -&amp;gt; 2 (resampling 2)&lt;BR /&gt;D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0&lt;BR /&gt;D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0&lt;BR /&gt;I: [pulseaudio] sink-input.c: Created input 0 "/usr/share/soundcard-test-config/tone_1000.wav" on bluez_sink.20_71_9B_10_00_13.a2dp_sink with sample spec s16le 2ch 48000Hz and channel map front-left,front-right&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; media.format = "WAV (Microsoft)"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.name = "paplay"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; media.name = "/usr/share/soundcard-test-config/tone_1000.wav"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; native-protocol.peer = "UNIX socket client"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; native-protocol.version = "32"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.process.id = "3791"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.process.user = "root"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.process.host = "imx8mmevk"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.process.binary = "pacat"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.language = "C"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.process.machine_id = "95dd73e1a8bd4e43ad491e0a02f38899"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; module-stream-restore.id = "sink-input-by-application-name:paplay"&lt;BR /&gt;I: [pulseaudio] protocol-native.c: Requested tlength=2000.00 ms, minreq=20.00 ms&lt;BR /&gt;D: [pulseaudio] protocol-native.c: Traditional mode enabled, modifying sink usec only for compat with minreq.&lt;BR /&gt;D: [pulseaudio] protocol-native.c: Requested latency=1960.00 ms, Received latency=39.51 ms&lt;BR /&gt;D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=384000, base=4, prebuf=380164, minreq=3840 maxrewind=0&lt;BR /&gt;D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=384000, base=4, prebuf=380164, minreq=3840 maxrewind=0&lt;BR /&gt;I: [pulseaudio] protocol-native.c: Final latency 2039.51 ms = 1960.00 ms + 2*20.00 ms + 39.51 ms&lt;BR /&gt;I: [pulseaudio] module-stream-restore.c: Storing volume/mute/device for stream sink-input-by-application-name:paplay.&lt;BR /&gt;D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry1&lt;BR /&gt;D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 28873 us (= 5092 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] module-bluez5-device.c: Bitpool has changed to 48&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 273889 us (= 48312 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] module-bluez5-device.c: Bitpool has changed to 43&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 100358 us (= 17700 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] module-bluez5-device.c: Bitpool has changed to 38&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 506565 us (= 89356 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 89356 &amp;gt; 65536&lt;BR /&gt;D: [bluetooth] module-bluez5-device.c: Bitpool has changed to 33&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450721 us (= 79504 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79504 &amp;gt; 65536&lt;BR /&gt;D: [bluetooth] module-bluez5-device.c: Bitpool has changed to 32&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 448194 us (= 79060 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79060 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450855 us (= 79528 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79528 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 452899 us (= 79888 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79888 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 397041 us (= 70036 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 70036 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 429440 us (= 75752 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 75752 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 462023 us (= 81500 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 81500 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453250 us (= 79952 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79952 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 370121 us (= 65288 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 435722 us (= 76860 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 76860 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 410607 us (= 72428 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 72428 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 440766 us (= 77748 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 77748 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 458204 us (= 80824 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 80824 &amp;gt; 65536&lt;BR /&gt;I: [pulseaudio] module-stream-restore.c: Synced.&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450733 us (= 79508 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79508 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 441875 us (= 77944 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 77944 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 382041 us (= 67392 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 67392 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453100 us (= 79924 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79924 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 467110 us (= 82396 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 82396 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 429388 us (= 75744 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 75744 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453252 us (= 79952 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79952 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 415780 us (= 73340 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 73340 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 428072 us (= 75508 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 75508 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450703 us (= 79504 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79504 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 466999 us (= 82376 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 82376 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450588 us (= 79480 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79480 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 385765 us (= 68048 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 68048 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 443201 us (= 78180 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 78180 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450698 us (= 79500 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79500 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453122 us (= 79928 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79928 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 452083 us (= 79744 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79744 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 410774 us (= 72460 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 72460 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 428039 us (= 75504 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 75504 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 454423 us (= 80160 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 80160 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 373923 us (= 65960 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 65960 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453201 us (= 79944 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79944 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453272 us (= 79956 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79956 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 389529 us (= 68712 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 68712 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453024 us (= 79912 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79912 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 448205 us (= 79060 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79060 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 455692 us (= 80384 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 80384 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 428277 us (= 75548 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 75548 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 410727 us (= 72452 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 72452 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450585 us (= 79480 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79480 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453285 us (= 79956 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79956 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 445720 us (= 78624 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 78624 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453124 us (= 79928 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79928 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 19310 us (= 3404 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86867 us (= 15320 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86820 us (= 15312 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86770 us (= 15304 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86776 us (= 15304 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 19261 us (= 3396 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 98109 us (= 17304 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 90700 us (= 15996 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 61578 us (= 10860 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86757 us (= 15300 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 44234 us (= 7800 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 61976 us (= 10932 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] protocol-native.c: Implicit drain of '/usr/share/soundcard-test-config/tone_1000.wav'&lt;BR /&gt;D: [bluetooth] protocol-native.c: Drain acknowledged of '/usr/share/soundcard-test-config/tone_1000.wav'&lt;BR /&gt;I: [pulseaudio] sink-input.c: Freeing input 0 "/usr/share/soundcard-test-config/tone_1000.wav"&lt;BR /&gt;I: [pulseaudio] client.c: Freed 2 "paplay"&lt;BR /&gt;I: [pulseaudio] protocol-native.c: Connection died.&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86604 us (= 15276 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86885 us (= 15324 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86767 us (= 15304 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 44380 us (= 7828 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 63056 us (= 11120 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86867 us (= 15320 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86612 us (= 15276 bytes) in audio stream&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no audio coming out the Bluetooth speaker and after a few minutes I hear crackling audio coming from my Bluetooth speaker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I turn on logs for the bluetoothd service by passing the -d option to the command line but I don't see logs that can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you have any idea what could cause those issue ? Is there some pulseaudio configurations that could fix it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Sep 2019 10:40:35 GMT</pubDate>
    <dc:creator>ebecam</dc:creator>
    <dc:date>2019-09-16T10:40:35Z</dc:date>
    <item>
      <title>IMX8 Mini Bluetooth A2DP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-Mini-Bluetooth-A2DP/m-p/930855#M139623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using IMX8 Mini EVK and I try to play music using Bluetooth AD2P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So far, I am able to pair and connect to my Bluetooth speaker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output of bluetoothctl:&lt;BR /&gt;[BAM Headset 00013]# info 20:71:9B:10:00:13&lt;BR /&gt;Device 20:71:9B:10:00:13 (public)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Name: BAM Headset 00013&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Alias: BAM Headset 00013&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Class: 0x00240418&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Icon: audio-card&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Paired: yes&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Trusted: yes&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Blocked: no&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Connected: yes&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;LegacyPairing: no&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: Serial Port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (00001101-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: Audio Sink&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0000110b-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: A/V Remote Control&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0000110e-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: Handsfree&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0000111e-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;UUID: PnP Information&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (00001200-0000-1000-8000-00805f9b34fb)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Modalias: bluetooth:v000Fp0401d0001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the speaker with my Ubuntu laptop and it is working well in AD2P mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I launched pulseaudio in system mode and I can see from the logs that bluetooth modules are loaded:&lt;BR /&gt;# pulseaudio -vvvv --system&lt;BR /&gt;...&lt;BR /&gt;I: [pulseaudio] module.c: Loaded "module-bluez5-discover" (index: #11; argument: "").&lt;BR /&gt;D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-11.1/modules/module-bluez4-discover.so': failure&lt;BR /&gt;I: [pulseaudio] module.c: Loaded "module-bluetooth-discover" (index: #10; argument: "").&lt;BR /&gt;I: [pulseaudio] module.c: Loaded "module-bluetooth-policy" (index: #12; argument: "").&lt;BR /&gt;I: [pulseaudio] module.c: Loaded "module-switch-on-connect" (index: #13; argument: "").&lt;BR /&gt;D: [pulseaudio] main.c: Got org.pulseaudio.Server!&lt;BR /&gt;I: [pulseaudio] main.c: Daemon startup complete.&lt;BR /&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Bluetooth sound card is detected correctly under pulseaudio:&lt;BR /&gt;# pactl list cards&lt;BR /&gt;Card #1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Name: bluez_card.20_71_9B_10_00_13&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Driver: module-bluez5-device.c&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Owner Module: 16&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Properties:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.description = "BAM Headset 00013"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.string = "20:71:9B:10:00:13"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.api = "bluez"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.class = "sound"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.bus = "bluetooth"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.form_factor = "headphone"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.path = "/org/bluez/hci0/dev_20_71_9B_10_00_13"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.class = "0x240418"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.alias = "BAM Headset 00013"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.icon_name = "audio-headphones-bluetooth"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Profiles:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 10, available: yes)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 20, available: no)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;off: Off (sinks: 0, sources: 0, priority: 0, available: yes)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Active Profile: a2dp_sink&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Ports:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;headphone-output: Headphone (priority: 0, latency offset: 0 usec, available)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Part of profile(s): a2dp_sink, headset_head_unit&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;headphone-input: Bluetooth Input (priority: 0, latency offset: 0 usec, not available)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Part of profile(s): headset_head_unit&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;# pactl list sinks&lt;BR /&gt;Sink #5&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;State: IDLE&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Name: bluez_sink.20_71_9B_10_00_13.a2dp_sink&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Description: BAM Headset 00013&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Driver: module-bluez5-device.c&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Sample Specification: s16le 2ch 48000Hz&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Channel Map: front-left,front-right&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Owner Module: 18&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Mute: no&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Volume: front-left: 65536 / 100% / 0.00 dB,&amp;nbsp;&amp;nbsp; front-right: 65536 / 100% / 0.00 dB&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; balance 0.00&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Base Volume: 65536 / 100% / 0.00 dB&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Monitor Source: bluez_sink.20_71_9B_10_00_13.a2dp_sink.monitor&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Latency: 43009 usec, configured 38333 usec&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Flags: HARDWARE DECIBEL_VOLUME LATENCY &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Properties:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluetooth.protocol = "a2dp_sink"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.description = "BAM Headset 00013"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.string = "20:71:9B:10:00:13"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.api = "bluez"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.class = "sound"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.bus = "bluetooth"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.form_factor = "headphone"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.path = "/org/bluez/hci0/dev_20_71_9B_10_00_13"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.class = "0x240418"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bluez.alias = "BAM Headset 00013"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device.icon_name = "audio-headphones-bluetooth"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Ports:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;headphone-output: Headphone (priority: 0, available)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Active Port: headphone-output&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Formats:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pcm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Trouble appear when I try to play a file. &lt;BR /&gt;Here is the command launched to play a 1kHz tone:&lt;BR /&gt;# paplay -v /usr/share/soundcard-test-config/tone_1000.wav &lt;BR /&gt;Opening a playback stream with sample specification 's16le 2ch 48000Hz' and channel map 'front-left,front-right'.&lt;BR /&gt;Connection established.&lt;BR /&gt;Stream successfully created.&lt;BR /&gt;Buffer metrics: maxlength=4194304, tlength=384000, prebuf=380164, minreq=3840&lt;BR /&gt;Using sample spec 's16le 2ch 48000Hz', channel map 'front-left,front-right'.&lt;BR /&gt;Connected to device bluez_sink.20_71_9B_10_00_13.a2dp_sink (index: 1, suspended: no).&lt;BR /&gt;Stream started.&lt;BR /&gt;Playback stream drained.y: 5517 usec.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Draining connection to server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below are the logs of pulseaudio -vvvv --system:&lt;BR /&gt;D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s16le\""&amp;nbsp; format.rate = "48000"&amp;nbsp; format.channels = "2"&amp;nbsp; format.channel_map = "\"front-left,front-right\""&lt;BR /&gt;I: [pulseaudio] sink-input.c: Trying to change sample rate&lt;BR /&gt;D: [pulseaudio] module-suspend-on-idle.c: Sink bluez_sink.20_71_9B_10_00_13.a2dp_sink becomes busy, resuming.&lt;BR /&gt;D: [pulseaudio] resampler.c: Resampler:&lt;BR /&gt;D: [pulseaudio] resampler.c:&amp;nbsp;&amp;nbsp; rate 48000 -&amp;gt; 44100 (method ffmpeg)&lt;BR /&gt;D: [pulseaudio] resampler.c:&amp;nbsp;&amp;nbsp; format s16le -&amp;gt; s16le (intermediate s16le)&lt;BR /&gt;D: [pulseaudio] resampler.c:&amp;nbsp;&amp;nbsp; channels 2 -&amp;gt; 2 (resampling 2)&lt;BR /&gt;D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0&lt;BR /&gt;D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0&lt;BR /&gt;I: [pulseaudio] sink-input.c: Created input 0 "/usr/share/soundcard-test-config/tone_1000.wav" on bluez_sink.20_71_9B_10_00_13.a2dp_sink with sample spec s16le 2ch 48000Hz and channel map front-left,front-right&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; media.format = "WAV (Microsoft)"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.name = "paplay"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; media.name = "/usr/share/soundcard-test-config/tone_1000.wav"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; native-protocol.peer = "UNIX socket client"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; native-protocol.version = "32"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.process.id = "3791"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.process.user = "root"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.process.host = "imx8mmevk"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.process.binary = "pacat"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.language = "C"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.process.machine_id = "95dd73e1a8bd4e43ad491e0a02f38899"&lt;BR /&gt;I: [pulseaudio] sink-input.c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; module-stream-restore.id = "sink-input-by-application-name:paplay"&lt;BR /&gt;I: [pulseaudio] protocol-native.c: Requested tlength=2000.00 ms, minreq=20.00 ms&lt;BR /&gt;D: [pulseaudio] protocol-native.c: Traditional mode enabled, modifying sink usec only for compat with minreq.&lt;BR /&gt;D: [pulseaudio] protocol-native.c: Requested latency=1960.00 ms, Received latency=39.51 ms&lt;BR /&gt;D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=384000, base=4, prebuf=380164, minreq=3840 maxrewind=0&lt;BR /&gt;D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=384000, base=4, prebuf=380164, minreq=3840 maxrewind=0&lt;BR /&gt;I: [pulseaudio] protocol-native.c: Final latency 2039.51 ms = 1960.00 ms + 2*20.00 ms + 39.51 ms&lt;BR /&gt;I: [pulseaudio] module-stream-restore.c: Storing volume/mute/device for stream sink-input-by-application-name:paplay.&lt;BR /&gt;D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry1&lt;BR /&gt;D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 28873 us (= 5092 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] module-bluez5-device.c: Bitpool has changed to 48&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 273889 us (= 48312 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] module-bluez5-device.c: Bitpool has changed to 43&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 100358 us (= 17700 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] module-bluez5-device.c: Bitpool has changed to 38&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 506565 us (= 89356 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 89356 &amp;gt; 65536&lt;BR /&gt;D: [bluetooth] module-bluez5-device.c: Bitpool has changed to 33&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450721 us (= 79504 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79504 &amp;gt; 65536&lt;BR /&gt;D: [bluetooth] module-bluez5-device.c: Bitpool has changed to 32&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 448194 us (= 79060 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79060 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450855 us (= 79528 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79528 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 452899 us (= 79888 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79888 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 397041 us (= 70036 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 70036 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 429440 us (= 75752 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 75752 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 462023 us (= 81500 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 81500 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453250 us (= 79952 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79952 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 370121 us (= 65288 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 435722 us (= 76860 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 76860 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 410607 us (= 72428 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 72428 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 440766 us (= 77748 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 77748 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 458204 us (= 80824 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 80824 &amp;gt; 65536&lt;BR /&gt;I: [pulseaudio] module-stream-restore.c: Synced.&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450733 us (= 79508 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79508 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 441875 us (= 77944 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 77944 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 382041 us (= 67392 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 67392 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453100 us (= 79924 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79924 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 467110 us (= 82396 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 82396 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 429388 us (= 75744 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 75744 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453252 us (= 79952 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79952 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 415780 us (= 73340 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 73340 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 428072 us (= 75508 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 75508 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450703 us (= 79504 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79504 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 466999 us (= 82376 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 82376 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450588 us (= 79480 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79480 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 385765 us (= 68048 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 68048 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 443201 us (= 78180 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 78180 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450698 us (= 79500 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79500 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453122 us (= 79928 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79928 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 452083 us (= 79744 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79744 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 410774 us (= 72460 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 72460 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 428039 us (= 75504 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 75504 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 454423 us (= 80160 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 80160 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 373923 us (= 65960 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 65960 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453201 us (= 79944 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79944 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453272 us (= 79956 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79956 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 389529 us (= 68712 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 68712 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453024 us (= 79912 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79912 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 448205 us (= 79060 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79060 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 455692 us (= 80384 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 80384 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 428277 us (= 75548 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 75548 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 410727 us (= 72452 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 72452 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 450585 us (= 79480 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79480 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453285 us (= 79956 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79956 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 445720 us (= 78624 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 78624 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 453124 us (= 79928 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] memblock.c: Memory block too large for pool: 79928 &amp;gt; 65536&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 19310 us (= 3404 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86867 us (= 15320 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86820 us (= 15312 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86770 us (= 15304 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86776 us (= 15304 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 19261 us (= 3396 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 98109 us (= 17304 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 90700 us (= 15996 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 61578 us (= 10860 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86757 us (= 15300 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 44234 us (= 7800 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 61976 us (= 10932 bytes) in audio stream&lt;BR /&gt;D: [bluetooth] protocol-native.c: Implicit drain of '/usr/share/soundcard-test-config/tone_1000.wav'&lt;BR /&gt;D: [bluetooth] protocol-native.c: Drain acknowledged of '/usr/share/soundcard-test-config/tone_1000.wav'&lt;BR /&gt;I: [pulseaudio] sink-input.c: Freeing input 0 "/usr/share/soundcard-test-config/tone_1000.wav"&lt;BR /&gt;I: [pulseaudio] client.c: Freed 2 "paplay"&lt;BR /&gt;I: [pulseaudio] protocol-native.c: Connection died.&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86604 us (= 15276 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86885 us (= 15324 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86767 us (= 15304 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 44380 us (= 7828 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 63056 us (= 11120 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86867 us (= 15320 bytes) in audio stream&lt;BR /&gt;W: [bluetooth] module-bluez5-device.c: Skipping 86612 us (= 15276 bytes) in audio stream&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no audio coming out the Bluetooth speaker and after a few minutes I hear crackling audio coming from my Bluetooth speaker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I turn on logs for the bluetoothd service by passing the -d option to the command line but I don't see logs that can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you have any idea what could cause those issue ? Is there some pulseaudio configurations that could fix it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2019 10:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-Mini-Bluetooth-A2DP/m-p/930855#M139623</guid>
      <dc:creator>ebecam</dc:creator>
      <dc:date>2019-09-16T10:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8 Mini Bluetooth A2DP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-Mini-Bluetooth-A2DP/m-p/930856#M139624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally got the A2DP Bluetooth working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The UART speed used for Bluetooth was 115200.&lt;/P&gt;&lt;P&gt;When using the command hciattach /dev/ttymxc0 qca 3000000 flow -b -t 120 documented in the i.MX Linux User's Guide, I have no more audio issue when playing music from the IMX Evaluation Board to my Bluetooth speaker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The UART for the Bluetooth has now the following configuration:&lt;/P&gt;&lt;P&gt;# stty -F /dev/ttymxc0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;speed 3000000 baud; line = 15;&lt;BR /&gt;min = 1; time = 0;&lt;BR /&gt;-brkint -icrnl -imaxbel&lt;BR /&gt;-opost&lt;BR /&gt;-isig -icanon -iexten -echo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now try to to sent AVRCP commands for volume down/up. Do you have any tips or guidelines for this ?&lt;/P&gt;&lt;P&gt;For now, I check the volume with the command "pactl list sinks" and I looked at the "Volume" line.&lt;/P&gt;&lt;P&gt;However, when pressing the Volume + and Volume - button of my Bluetooth speaker, the volume given by pactl does not change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For information, I build using the core-image-base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 15:29:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-Mini-Bluetooth-A2DP/m-p/930856#M139624</guid>
      <dc:creator>ebecam</dc:creator>
      <dc:date>2019-09-18T15:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8 Mini Bluetooth A2DP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-Mini-Bluetooth-A2DP/m-p/930857#M139625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do it with amixer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First,&amp;nbsp;reproduce the track in background process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, configure amixer as below to increase the volume:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;amixer -D pulse sset Master &amp;lt;your desired percentage of volume to increase&amp;gt;% + #note that default volume is at 100% percent&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To lower the volume&amp;nbsp;configure amixer&amp;nbsp;as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;amixer -D pulse sset Master &amp;lt;your desired percentage of volume to decrease&amp;gt;% -&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And to set a default volume configure amixer as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;amixer -D pulse sset Master &amp;lt;your desired percentage of volume to increase&amp;gt;%&amp;nbsp;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this information could help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Diego.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 20:26:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-Mini-Bluetooth-A2DP/m-p/930857#M139625</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2019-09-19T20:26:36Z</dc:date>
    </item>
  </channel>
</rss>

