<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF5340 Audio DK: Audio playback on a single device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99571/nrf5340-audio-dk-audio-playback-on-a-single-device</link><description>Hello! I apologize for opening another thread on this topic, but other threads didn&amp;#39;t seem to cover my issue. I&amp;#39;m interested in playing audio files from an SD card on the nRF5340 Audio DK (NCS v2.3.0). For starters I&amp;#39;d like to try it out on a single device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Jun 2023 12:45:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99571/nrf5340-audio-dk-audio-playback-on-a-single-device" /><item><title>RE: nRF5340 Audio DK: Audio playback on a single device</title><link>https://devzone.nordicsemi.com/thread/430765?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2023 12:45:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b356bce0-d981-4de0-9a1e-c8dbce5fee4d</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Karolina,&lt;/p&gt;
&lt;p&gt;I recommend looking at the code in &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v2.3.0/applications/nrf5340_audio/src/audio"&gt;nrf5340_audio/src/audio &lt;/a&gt;directory, in particular the sw_codec_select files (&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.3.0/applications/nrf5340_audio/src/audio/sw_codec_select.c"&gt;src&lt;/a&gt;, &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.3.0/applications/nrf5340_audio/src/audio/sw_codec_select.h"&gt;header&lt;/a&gt;) for the encoding and the streamctrl files (&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.3.0/applications/nrf5340_audio/src/audio/streamctrl.c"&gt;src&lt;/a&gt;, &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.3.0/applications/nrf5340_audio/src/audio/streamctrl.h"&gt;header&lt;/a&gt;) for readying the audio for transmission.&lt;/p&gt;
&lt;p&gt;Source code for streaming the audio is found in nrf530_audio/src/bluetooth in &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.3.0/applications/nrf5340_audio/src/bluetooth/le_audio_bis_gateway.c"&gt;le_audio_bis_gateway&lt;/a&gt; or &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.3.0/applications/nrf5340_audio/src/bluetooth/le_audio_cis_gateway.c"&gt;le_audio_cis_gateway&lt;/a&gt; depending on if you are using BIS or CIS mode.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Audio DK: Audio playback on a single device</title><link>https://devzone.nordicsemi.com/thread/430584?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 20:13:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:203cdc09-c439-45e9-bf97-fb2c88538b6f</guid><dc:creator>Karolina Sebestova</dc:creator><description>&lt;p&gt;Thank you! This has been very helpful.&lt;br /&gt;&lt;br /&gt;As a next step, how would i go about go about encoding and transmitting the audio data to play it on a device configured as a headset? I&amp;#39;m sorry if this is over the scope of this ticket.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karolina&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Audio DK: Audio playback on a single device</title><link>https://devzone.nordicsemi.com/thread/426633?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 14:37:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e593d56-09a4-4c67-8f64-24ded5ff583e</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Karolina,&lt;/p&gt;
&lt;p&gt;Thank you for you patience with this!&lt;/p&gt;
&lt;p&gt;This modified version of the audio application demonstrates how to play an audio file from the sd card: &lt;a href="https://github.com/too1/ncs-le-audio-sd-card-playback/blob/master/src/main.c"&gt;https://github.com/too1/ncs-le-audio-sd-card-playback/blob/master/src/main.c&lt;/a&gt;. &lt;br /&gt;The additional includes are on lines &lt;a href="https://github.com/too1/ncs-le-audio-sd-card-playback/blob/master/src/main.c#LL28C1-L30C36"&gt;28-30&lt;/a&gt; and the SD card related changes in main.c is from line &lt;a href="https://github.com/too1/ncs-le-audio-sd-card-playback/blob/master/src/main.c#L164-L250C1"&gt;164-250&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope this will help you to get further!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Audio DK: Audio playback on a single device</title><link>https://devzone.nordicsemi.com/thread/426354?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 15:06:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7bfd6c4-0010-4297-956b-a93f42965b0d</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Apologies, but we are short staffed this week due to Public Holidays in Norway. We will be back on Monday 22nd and hope to be able to answer all incoming requests within a couple of days, depending on the backlog. Sorry for the inconvenience.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Audio DK: Audio playback on a single device</title><link>https://devzone.nordicsemi.com/thread/424943?ContentTypeID=1</link><pubDate>Wed, 10 May 2023 15:35:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eda76c8f-8d34-41fd-a6a7-5d686a6fd895</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;No need to apologize. I will look into this and get back to you. Thank you for your patience.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>