Displaying 3 results from an estimated 3 matches for "pcm_out".
2005 Feb 09
2
encoding speex, (insanity looming)
...area is repeated in a for loop with "packet"
filled with 320
// pcm samples (320 shorts)
//
// short packet[320]; // packet size for wideband.
int nbytes, err;
char encoded_audio[320]; // buffer to store encoded audio from speex
short pcm_out[640]; // buffer of short to write decoded audio to disk.
// Note: Please see the note bellow about this as
// there seems something wrong, thought
// I could have set this to 320 not 640
// reset th...
2005 Feb 09
0
encoding speex, (insanity looming)
...area is repeated in a for loop with "packet"
filled with 320
// pcm samples (320 shorts)
//
// short packet[320]; // packet size for wideband.
int nbytes, err;
char encoded_audio[320]; // buffer to store encoded audio from speex
short pcm_out[640]; // buffer of short to write decoded audio to
disk.
// Note: Please see the note bellow about this as
// there seems something wrong, thought
// I could have set this to 320 not 640
// reset th...
2005 Feb 09
1
encoding speex, (insanity looming)
...t;packet"
> filled with 320
> // pcm samples (320 shorts)
> //
> // short packet[320]; // packet size for wideband.
>
> int nbytes, err;
> char encoded_audio[320]; // buffer to store encoded audio from speex
> short pcm_out[640]; // buffer of short to write decoded audio to
> disk.
> // Note: Please see the note bellow about this as
> // there seems something wrong, thought
> // I could have set this to 320 not 640...