Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
==USB bluetooth audio kernel driver==
Once plugged on USB-C connector, using a proper an USB-C to USB-A adapter like [https://www.amazon.com/Adapter-JSAUX-Compatible-MacBook-Samsung/dp/B07L749R9R this], the kernel identify the BT adapter with the following ID:
<pre class="board-terminal">
</pre>
where <code>card0</code> is the serial port audio device used for the new serial port audio interface instantiated.
== Accessing the audio device ==
Here below a simple command used for testing the audio interface.
Once the BT audio speaker has been paired with the USB audio adapter, the audio adapter cab can be tested with:
<pre class="board-terminal">
root@desk-mx8mp:~# speaker-test speaker-test c 1.1.9-t wav
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noiseWAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 3840 to 5760
was set buffer_size = 5760
0 - Front Left
Time per period = 21.880658393268 0 - Front LeftTime per period = 1.479779 0 - Front LeftTime per period = 1.479839 0 - Front Left...
</pre>
8,226
edits