search for: speex_get_sampl

Displaying 5 results from an estimated 5 matches for "speex_get_sampl".

Did you mean: speex_get_samples
2007 Mar 17
2
SV: How to detect SpeexBits corruption
I was curious if you had ever peeked at a Teamspeak voice packet? I already have large chunks of the protocol torn apart. I believe the voice packets are the last big hurdle. As I know nothing about speex encoding, it is proving difficult to figure out the start of the actual voice data and/or any voice specific state data contained within the packet. If you have any information and are
2007 Mar 17
1
SV: How to detect SpeexBits corruption
...and much appreciated. I'm checking it out right now!! Thanks, Greg On Sat, 2007-03-17 at 12:00 -0400, Steve Kann wrote: > I wrote a speex parser, which we use inside of asterisk and iaxclient. > It can parse a stream of speex data into individual packets: > > See static int speex_get_samples(unsigned char *data, int len) (and it's > 2 helper functions) in > http://iaxclient.svn.sourceforge.net/viewvc/iaxclient/trunk/iaxclient/lib/libiax2/src/iax.c > > As it's written, it just looks at a bunch of speex data, and tells you > how many actual samples are contai...
2006 Jan 31
2
app_conference(Asterisk) with Speex
Just curious, how does Asterisk pack Speex frames in a packet. AFAIK, Linphone just sends raw packets, as specified in the RTP draft. Jean-Marc Le mardi 31 janvier 2006 ? 10:43 -0500, Steve Kann a ?crit : > jonathan blais wrote: > > I'm using Linphone. I tested with Asterisk and Speex only, I created > > a channel with echo and it worked. It seems to have problem when >
2006 Jan 31
0
app_conference(Asterisk) with Speex
...and iaxclient (I think I probably posted the code to this list, but if not, and if you're interested in putting it in libspeex, that would be nice too), a couple of functions which can quickly parse speex data to determine how many 20ms frames they contain. the function is: *static* *int* *speex_get_samples*(*unsigned* *char* *data, *int* len), and you just point it at some speex data, it it returns the number of samples that are there. Look for it at: http://cvs.sourceforge.net/viewcvs.py/iaxclient/iaxclient/lib/libiax2/src/iax.c?rev=1.71&view=markup -SteveK > Jean-Marc > >Le...
2007 Mar 17
0
SV: How to detect SpeexBits corruption
I wrote a speex parser, which we use inside of asterisk and iaxclient. It can parse a stream of speex data into individual packets: See static int speex_get_samples(unsigned char *data, int len) (and it's 2 helper functions) in http://iaxclient.svn.sourceforge.net/viewvc/iaxclient/trunk/iaxclient/lib/libiax2/src/iax.c As it's written, it just looks at a bunch of speex data, and tells you how many actual samples are contained within, but the code...