xoreos  0.0.5
Classes | Namespaces | Functions
interleaver.cpp File Reference

An audio stream interleaving several other audio streams. More...

#include <cassert>
#include <cstring>
#include "src/common/error.h"
#include "src/sound/audiostream.h"
#include "src/sound/interleaver.h"
Include dependency graph for interleaver.cpp:

Go to the source code of this file.

Classes

class  Sound::Interleaver
 

Namespaces

 Sound
 

Functions

AudioStream * Sound::makeInterleaver (int rate, const std::vector< AudioStream * > &streams, bool disposeAfterUse=true)
 Takes several input audio streams and interleaves the sample data to create an audio stream with x channels, where x is the summation of the channels in all input streams. More...
 

Detailed Description

An audio stream interleaving several other audio streams.

Definition in file interleaver.cpp.