FrozenSpoon
Nov 21 2005, 00:51
Sorry if this should be obvious, does input_pcm::get_samples_pcm() make a copy of buffer to use for itself, or does it 'take ownership' of buffer? Thanks.
foosion
Nov 21 2005, 03:34
input_pcm::get_samples_pcm() does not copy any buffer. It returns a pointer to its own buffer in the source parameter. input_pcm::run() which calls it stores a copy of that data in a regular audio_chunk.