Audaspace 1.6.0
A high level audio library.
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ISound Interface Referenceabstract

This class represents a type of sound source and saves the necessary values for it. More...

#include <ISound.h>

Inheritance diagram for ISound:

Public Member Functions

virtual ~ISound ()
 Destroys the sound.
 
virtual std::shared_ptr< IReadercreateReader ()=0
 Creates a reader for playback of the sound source.
 

Detailed Description

This class represents a type of sound source and saves the necessary values for it.

It is able to create a reader that is actually usable for playback of the respective sound source through the factory method createReader.

Member Function Documentation

◆ createReader()

virtual std::shared_ptr< IReader > ISound::createReader ( )
pure virtual

Creates a reader for playback of the sound source.

Returns
A pointer to an IReader object or nullptr if there has been an error.
Exceptions
ExceptionAn exception may be thrown if there has been a more unexpected error during reader creation.

Implemented in Accumulator, ADSR, BinauralSound, ChannelMapper, Converter, ConvolverSound, Delay, Double, DynamicIIRFilter, Envelope, Equalizer, Fader, File, IIRFilter, JOSResample, Limiter, LinearResample, Loop, Modulator, MutableSound, PingPong, Pitch, Reverse, Sawtooth, Sequence, Silence, Sine, SoundList, Square, StreamBuffer, Sum, Superpose, Threshold, Triangle, Volume, and VolumeSound.


The documentation for this interface was generated from the following file: