csl::Interleaver Class Reference

#include <CSL_Core.h>

List of all members.

Public Member Functions

void interleave (Buffer &output, SampleBuffer samples, unsigned numFrames, unsigned numChannels) throw (CException)
 Interleave = copy from CSL-style Buffer object to an interleaved sample vector.
void interleave (Buffer &output, short *samples, unsigned numFrames, unsigned numChannels) throw (CException)
void interleaveAndRemap (Buffer &output, SampleBuffer samples, unsigned numFrames, unsigned numChannels, unsigned *channelMap) throw (CException)
 Remap = re-assign channels from the source buffer to the target while interleaving.
void deinterleave (Buffer &output, SampleBuffer samples, unsigned numFrames, unsigned numChannels) throw (CException)
 De-interleave = copy from interleaved SampleBuffer to CSL Buffer object.
void deinterleave (Buffer &output, short *samples, unsigned numFrames, unsigned numChannels) throw (CException)


Detailed Description

Interleaver handles copying interleaved sample buffers (like sound files and inter-process sockets) to/from non-interleaved CSL-style Buffer objects.

Member Function Documentation

void Interleaver::interleave ( Buffer output,
SampleBuffer  samples,
unsigned  numFrames,
unsigned  numChannels 
) throw (CException)

Interleave = copy from CSL-style Buffer object to an interleaved sample vector.

References csl_min, and testkiss::j.

void Interleaver::interleave ( Buffer output,
short *  samples,
unsigned  numFrames,
unsigned  numChannels 
) throw (CException)

References csl_min, and testkiss::j.

void Interleaver::interleaveAndRemap ( Buffer output,
SampleBuffer  samples,
unsigned  numFrames,
unsigned  numChannels,
unsigned *  channelMap 
) throw (CException)

Remap = re-assign channels from the source buffer to the target while interleaving.

Interleave = copy from CSL-style Buffer object to an interleaved sample vector Remap = re-assign channels from the source buffer to the target while interleaving

References csl_min, and testkiss::j.

void Interleaver::deinterleave ( Buffer output,
SampleBuffer  samples,
unsigned  numFrames,
unsigned  numChannels 
) throw (CException)

De-interleave = copy from interleaved SampleBuffer to CSL Buffer object.

References csl_min, and testkiss::j.

Referenced by csl::IO::getInput(), csl::CslRtpSession::OnRTPPacket(), csl::LSoundFile::readBufferFromFile(), and csl::CASoundFile::readBufferFromFile().

void Interleaver::deinterleave ( Buffer output,
short *  samples,
unsigned  numFrames,
unsigned  numChannels 
) throw (CException)

References csl_min, and testkiss::j.


The documentation for this class was generated from the following files:

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8