search for: get_samples

Displaying 2 results from an estimated 2 matches for "get_samples".

2004 Dec 21
2
Jitter buffer
...mpler layer if necessary. > > I'm revisiting this issue now. It looks like it would help to have the ability to: 1) Take a look at some speex data, and return the number of samples it contains. This would go here in asterisk, for example: asterisk/channels/chan_iax2.c: static int get_samples(struct ast_frame *f) { int samples=0; switch(f->subclass) { case AST_FORMAT_SPEEX: samples = 160; /* XXX Not necessarily true XXX */ break; case AST_FORMAT_G723_1: samples = 240 /* XXX Not necessarily true XXX */;...
2004 Nov 17
3
Jitter buffer
Jean-Marc Valin wrote: >>Heh. I guess after playing with different jitter buffers long enough, >>I've realized that there's always situations that you haven't properly >>accounted for when designing one. >> >> > >For example? :-) > > I have a bunch of examples listed on the wiki page where I had written initial specifications: