Bug in codec L16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi List,
I think I have found a mistake in the L16 codec. In the function
l16_parse() the timestamp is so calculated:

frames[count].timestamp.u64 = ts->u64 + (count * data->frame_size);

But I think instead of using the frame size, it should use samples per
frame, like in the other codecs:

frames[count].timestamp.u64 = ts->u64 + (count * samples_per_frame);

Am I right, or am I delusional??

Thanks!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150806/c6b3ce94/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux