Hi Nordic,
Could you please help me to play the pcm static data in nRF5340 Audio DK.
Thanks & Regards,
PSR.
Hi Nordic,
Could you please help me to play the pcm static data in nRF5340 Audio DK.
Thanks & Regards,
PSR.
can any one respond on this.
Thanks& Regards
PSR.
HI PSR,
Apologies for the lack of response so far.
Does your use-case require LE Audio, or do you want to get and play the PCM data on the same device?
For the LE Audio case, you can refer to the audio_system and audio_datapath files in nrf5340_audio/src/audio.
You can still refer to parts of the Audio application for the local case and use the unicast server or the broadcast sink. The CIS bidirectional walkie-talkie demo both records and plays audio: it records audio and transmits it to the peer device and it receives audio and plays it.
Best regards,
Maria
Hi Nordic,
I was shared the nRF5340 Dk unicast audio client, In nRF5340 Audio Dk board i'm sharing , in that i'm getting error as Enable rejected,

could you please help on this to rectify the error.
Thanks.
PSR
Hello,
Apologies for the wait.
PSR said:Audio Stream 0x20003ca4 enabled
Is this the last logging you get?
I tried to reproduce it with unicast audio client as is and with
CONFIG_BT_BAP_UNICAST_16_2_1=y CONFIG_AUDIO_SOURCE_I2S=y
in prj.conf and building the audio application for the headset device.
In this case the stream was successfully enabled like in your log. In my case, one stream was configured, and it was also started shortly after it was enabled.
This is my log after yours ends. Before this, they are equivalent:
Audio Stream 0x20003c2c enabled Streams enabled Starting streams Audio Stream 0x20003c2c started Streams started LC3 encode 2 frames in 2 SDUs TX LC3 l on streams[40]: 0 TX LC3 l on streams[40]: 0
Which changes have you made to unicast audio client?
Best regards,
Maria
Hi Maria,
Both Boards are communicated getting beep sound,
Now, i integrated dmic Sample in unicast audio client, PCM audio buffer of dmic is given to lc3 encode function is

but other side(audio DK), I'm not getting Audio Stream.
Thanks,
PSR.
Hi PSR,
PSR said:audio buffer of dmic is given to lc3 encode function is
In the sceenshot it looks like the end parenthesis is missing, but it is difficult to say for sure from a screen shot.
Can you include the code snippet for this? (Insert -> Code)
PSR said:but other side(audio DK), I'm not getting Audio Stream.
Please share the device logs (Insert -> Code).
Best regards,
Maria
Hi Maria,
lc3_ret = lc3_encode(lc3_encoder, LC3_PCM_FORMAT_S16, audio_buff, 1, octets_per_frame, net_buffer + offset); is the function.
I want to change the AudioBuff PCM data every time. Is there a way to change the PCM data every 10 milliseconds?
Hi Maria,
lc3_ret = lc3_encode(lc3_encoder, LC3_PCM_FORMAT_S16, audio_buff, 1, octets_per_frame, net_buffer + offset); is the function.
I want to change the AudioBuff PCM data every time. Is there a way to change the PCM data every 10 milliseconds?