search for: play_channels

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

Did you mean: flac_channels
2009 Mar 11
1
frame_size parameter
...rame size is 'samples per channel' it will copy only half the play buffer since there are two channels interleaved (supposing the play buffer is stereo of course) I think it should take into account the number of channels, resulting in something like: ... for (i=0;i<st->frame_size * play_channels;i++) st->play_buf[st->play_buf_pos+i] = play[i]; ... Sorry if what I said doesn't make any sense... I'm just trying to understand how could it work on more than one channel. Am I missing something ? Thank you! Daniel Jean-Marc Valin escreveu: > In stereo mode, you need...
2009 Mar 10
2
frame_size parameter
Hi, I'm using the echo cancellation api and I would like to clarify the 'frame_size' parameter used in speex_echo_state_init(frame_size,filter_length). In the 'docs' it says: "...where frame_size is the amount of data (in samples)you want to process at once..." So... here are my questions: if I use stereo input/output do I have to put the samples doubled ? For