<span style="font-family: Tahoma, Geneva, sans-serif; font-size: 10pt">Hi<br>It pretty works for 16 bits samples but not for 24 bits samples.<br>In fact, I am going to implement opus on ADSP-21489 (DSP processor from Analog Devices), I compiled "celt directory" from opus 1.1<br>and used "opus_custom_demo.c". It hasn't any problem with 16 bits samples but when I use 24 bits samples , there is no output audio.<br><font color="#ff0000">opus_decoder will still generate 16 bits samples and these output samples are saturated </font>. I use following function for 16 / 24 bit depth :<br><br>opus_custom_encoder_ctl(enc, OPUS_SET_LSB_DEPTH(16/24));<br><br>How can I solve this problem ?<br><br>Thanks a lot<br>Kazem<br><br><br><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><hr align="center" size="2" width="100%"><b>From</b>: "Timothy B. Terriberry" &lt;tterribe@xiph.org&gt;<br><b>Sent</b>: Tuesday, June 23, 2015 11:22 PM<br><b>To</b>: opus@xiph.org<br><b>Subject</b>: Re: [opus] 24 bits samples</span><br><br>Jean-Marc Valin wrote:<br>&gt; Opus itself supports 24-bit audio and can handle all of the dynamic<br>&gt; range (and then some). I *think* the opusenc command-line tool can<br>&gt; handle 24-bit wav files, but I could be wrong (if not it's something<br>&gt; that needs to be added).<br><br>It can (little-endian only).<br><br>_______________________________________________<br>opus mailing list<br>opus@xiph.org<br>http://lists.xiph.org/mailman/listinfo/opus<br><br></span>