The desired_data_size in "le_audio_rx.c"

I want to know where did the "desired_data_size" value in le_audio_rx_data_handler come from?

And why "data_size != desired_data_size" means the pkt is bad frame?

Thank you for your reply.

Parents
  • Hi, 

    There could be a chance the sender didn't prepare the sampling data well or not sent it in time so there's no payload, or something wrong cause the length is not correct. Once that happens, we should tag that packet as a bad frame and tell the LC3 decoder to use PLC (packet loss concealment) to mimic a frame to ease the bad effect of missing audio frames.  

    -Amanda H.

Reply
  • Hi, 

    There could be a chance the sender didn't prepare the sampling data well or not sent it in time so there's no payload, or something wrong cause the length is not correct. Once that happens, we should tag that packet as a bad frame and tell the LC3 decoder to use PLC (packet loss concealment) to mimic a frame to ease the bad effect of missing audio frames.  

    -Amanda H.

Children
Related