Mashal al-shboul
2012-Mar-14 03:21 UTC
[Speex-dev] converting unsigned short sample to signed short sample
??? Hi All, I would like to get your help in my problem, we know that Speex codec takes samples of type short (signed), range:-2^15 to2^15 -1 , my problem is that i have samples of type unsigned short ,range: 0 to 2^16 -1. so, what should i do in order to apply speex on my unsigned samples ?. ???? There is? a proposed solution to subtract 2^15-1 from each unsigned short to get it signed short, my question: is this method safe in keeping the samples meaningful for speex's processing algorithms?. i hope i receive help from you. Thanks in advance Regards, Mash'al -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20120313/7952ad8c/attachment.htm