Audaspace 1.5.0
A high level audio library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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:
Inheritance graph
[legend]

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 File, Accumulator, ADSR, BinauralSound, ConvolverSound, Delay, DynamicIIRFilter, Envelope, Equalizer, Fader, IIRFilter, Limiter, Loop, Modulator, MutableSound, Pitch, Reverse, SoundList, Sum, Threshold, Volume, VolumeSound, Sawtooth, Silence, Sine, Square, Triangle, ChannelMapper, Converter, JOSResample, LinearResample, Double, PingPong, Sequence, Superpose, and StreamBuffer.


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