Hello Randy Toor,
I think this could be issue as the character values are negative sometimes
and if yu use
unsigned then it would leave out some information in the original wave or
the encoded
block. This will not give the required results when yu play the decoded
block. Try to convert.
-----Original Message-----
From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org]On
Behalf Of Randy Toor
Sent: Tuesday, April 26, 2005 12:06 PM
To: speex-dev@xiph.org
Subject: [Speex-dev] unsigned and signed ?
In an earlier post I made about learning how to use speex someone nicely
responded to me with a Speex Wrapper they had written.. however I am having
an issue now where all I seem to hear is a ticking noise after encoding and
decoding with speex. It is definitely getting proper data, as if I hit the
mic somewhat I hear some extra crackling noises.
Now, my code was nearly the same... but...
the difference is his wrapper takes raw data (before converting it to float)
as CHAR data, whereas my data is UNSIGNED CHAR... would this be an issue ?
If so, what would be the proper way for me to convert from char* to unsigned
char* ?
If it's not an issue, any ideas on what could be causing it ? (IE. the
format of my raw data etc which btw is 8000 samples/sec mono 16bps)
Thanks :)
_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft? SmartScreen
Technology
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=htt
p://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN? Premium right now and get the
first two months FREE*.
_______________________________________________
Speex-dev mailing list
Speex-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/speex-dev