<?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 - gateway playback - bad sound quality</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101430/nrf5340-audio---gateway-playback---bad-sound-quality</link><description>Hi, 
 I am trying to get playback on gateway device so it can act as an additional speaker. I configured hw codec and tried to redirect data directly from USB to hw codec, but something is not working as expected. 
 I got the gateway to play sound received</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Jul 2023 12:19:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101430/nrf5340-audio---gateway-playback---bad-sound-quality" /><item><title>RE: nrf5340 audio - gateway playback - bad sound quality</title><link>https://devzone.nordicsemi.com/thread/436470?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 12:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1afb6dfe-b399-4970-b2c7-1035ba67eff4</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Michael, and sorry about the wait. Things can be a but hectic here during the summer.&lt;/p&gt;
&lt;p&gt;What OS are you using on this computer providing the audio stream? If you are using MAC then you can try if &lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/60356"&gt;this&lt;/a&gt; recently merged fix helps.&lt;/p&gt;
&lt;p&gt;The sample rate is hardcoded in zephyr/subsys/usb/device/class/audio/usb_audio_internal.h, `.tSamFreq = {0x80, 0xBB, 0x00}` is 48kHz. This is simply 24-bit little-endian value.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 audio - gateway playback - bad sound quality</title><link>https://devzone.nordicsemi.com/thread/434946?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 11:20:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17f40796-6158-4604-93c3-4f5d805223d5</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Elfving,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;the example is set up in a way where Gateway is connected to the sound source and it send this sound over LE Audio to Headset where you can listen to the sound on headphones. I want to make this possible also on the Gateway sound. As the first step I just want to be able to listen to the same sound as on the Headset, in the next step I will try synchronize this as well, as in the end product these will be speakers, not headphones so sychronization is very important. Hopefully it make sense. I am really stuck right now, so I will apreciate any help.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 audio - gateway playback - bad sound quality</title><link>https://devzone.nordicsemi.com/thread/434934?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 11:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cf94d2e-68b3-494c-be51-b36965449dd7</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
[quote user=""]I am trying to get playback on gateway device so it can act as an additional speaker[/quote]
&lt;p&gt;What is this in addition to? You want it to act in addition to a headset device which it forwards it to?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 audio - gateway playback - bad sound quality</title><link>https://devzone.nordicsemi.com/thread/434477?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 13:25:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:521b9a84-aefa-4f1d-927e-cf270dbc603b</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Michael,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking into it, but I&amp;#39;ll have to get back to you on this.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>