Blender  V2.59
Public Member Functions
AUD_SRCResampleFactory Class Reference

#include <AUD_SRCResampleFactory.h>

Inheritance diagram for AUD_SRCResampleFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_SRCResampleFactory (AUD_IFactory *factory, AUD_DeviceSpecs specs)
virtual AUD_IReadercreateReader () const

Detailed Description

This factory creates a resampling reader that uses libsamplerate for resampling.

Definition at line 41 of file AUD_SRCResampleFactory.h.


Constructor & Destructor Documentation

AUD_SRCResampleFactory::AUD_SRCResampleFactory ( AUD_IFactory factory,
AUD_DeviceSpecs  specs 
)

Definition at line 35 of file AUD_SRCResampleFactory.cpp.


Member Function Documentation

AUD_IReader * AUD_SRCResampleFactory::createReader ( ) const [virtual]

Creates a reader for playback of the sound source.

Returns:
A pointer to an AUD_IReader object or NULL if there has been an error.
Exceptions:
AUD_ExceptionAn exception may be thrown if there has been a more unexpected error during reader creation.

Implements AUD_IFactory.

Definition at line 41 of file AUD_SRCResampleFactory.cpp.

References AUD_MixerFactory::getReader(), AUD_IReader::getSpecs(), AUD_MixerFactory::m_specs, AUD_Specs::rate, AUD_DeviceSpecs::rate, and AUD_DeviceSpecs::specs.


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