[opus] Regarding opus audio codec

Jilani Khan jilanikhan.427 at gmail.com
Wed Apr 22 23:50:34 PDT 2015


Hi All,

I am new to audio codec and just was going through the opus audio codec and
trying to use the same in my project here in the opus demo test code I
could see that before giving input to encoder or after decoder the audio
sample are modified as below

            for(i=0;i<loop;i++)
            {
                printf("hiiii iam inside loop\n");
                opus_int32 s;
                s=fbytes[2*i+1]<<8|fbytes[2*i];
                s=((s&0xFFFF)^0x8000)-0x8000;
                in[i+remaining*channels]= (short )fbytes;
            }
I wanted to know why this is done.

Thanks in advance.

Regards,
Jilani.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20150423/7c469a4f/attachment-0001.htm 


More information about the opus mailing list