Combines two mono sources into a stereo source. More...
#include <Source.h>
Inherits AUDIO::Source, and ReferenceCountedData< SharedMonoToStereoSourceData >.
Public Member Functions | |
MonoToStereoSource (Source &sourceLeft, Source &sourceRight) | |
Constructs a stereo source that combines two mono sources together to form a left and right channel. The sources passed in will be duplicated, so the originals may be freed after the call. If the sources are different lengths, silence will fill in the last portion of the shorter source. |
Combines two mono sources into a stereo source.