<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:14pt"><div><span class="tab"> Hi All,</span></div><div><span class="tab">I would like to get your help in my problem,</span></div><div><br><span class="tab"></span></div><div><span class="tab">we know that Speex codec takes samples of type <span style="font-weight: bold;">short</span> (signed), range:-2^15 to2^15 -1 , my problem is that i have samples of type <span style="font-weight: bold;"><br></span></span></div><div><span class="tab"><span style="font-weight: bold;">unsigned short </span>,range: 0 to 2^16 -1. so, what should i do in order to apply speex on my unsigned samples ?.<br></span></div><div><span class="tab"> 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?. <br></span></div><div><span class="tab">i hope i receive help from you. Thanks in advance</span></div><div><span class="tab"><br></span></div><div><span class="tab">Regards,</span></div><div><span class="tab">Mash'al<br></span></div></div></body></html>