Blender  V2.59
Public Member Functions
AUD_DefaultMixer Class Reference

#include <AUD_DefaultMixer.h>

Inheritance diagram for AUD_DefaultMixer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_DefaultMixer (AUD_DeviceSpecs specs)
virtual AUD_IReaderprepare (AUD_IReader *reader)

Detailed Description

This class is able to mix audiosignals of different channel count and sample rate and convert it to a specific output format. It uses a default ChannelMapperFactory and a SRCResampleFactory for the perparation.

Definition at line 43 of file AUD_DefaultMixer.h.


Constructor & Destructor Documentation

AUD_DefaultMixer::AUD_DefaultMixer ( AUD_DeviceSpecs  specs)

Creates the mixer.

Definition at line 43 of file AUD_DefaultMixer.cpp.


Member Function Documentation

AUD_IReader * AUD_DefaultMixer::prepare ( AUD_IReader reader) [virtual]

This funuction prepares a reader for playback.

Parameters:
readerThe reader to prepare.
Returns:
The reader that should be used for playback.

Implements AUD_Mixer.

Definition at line 48 of file AUD_DefaultMixer.cpp.

References AUD_Specs::channels, AUD_DeviceSpecs::channels, AUD_ChannelMapperFactory::getMapping(), AUD_IReader::getSpecs(), AUD_Mixer::m_specs, NULL, AUD_Specs::rate, AUD_DeviceSpecs::rate, and AUD_DeviceSpecs::specs.


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