|
|
| NULLDevice () |
| | Creates a new NULLDevice.
|
| |
| virtual DeviceSpecs | getSpecs () const |
| | Returns the specification of the device.
|
| |
| virtual std::shared_ptr< IHandle > | play (std::shared_ptr< IReader > reader, bool keep=false) |
| | Plays a sound source.
|
| |
| virtual std::shared_ptr< IHandle > | play (std::shared_ptr< ISound > sound, bool keep=false) |
| | Plays a sound source.
|
| |
| virtual void | stopAll () |
| | Stops all playing sounds.
|
| |
| virtual void | lock () |
| | Locks the device.
|
| |
| virtual void | unlock () |
| | Unlocks the previously locked device.
|
| |
| virtual float | getVolume () const |
| | Retrieves the overall device volume.
|
| |
| virtual void | setVolume (float volume) |
| | Sets the overall device volume.
|
| |
| virtual ISynchronizer * | getSynchronizer () |
| | Retrieves the synchronizer for this device, which enables accurate synchronization between audio playback and video playback for example.
|
| |
|
virtual | ~IDevice () |
| | Destroys the device.
|
| |
| virtual DeviceSpecs | getSpecs () const =0 |
| | Returns the specification of the device.
|
| |
| virtual std::shared_ptr< IHandle > | play (std::shared_ptr< IReader > reader, bool keep=false)=0 |
| | Plays a sound source.
|
| |
| virtual std::shared_ptr< IHandle > | play (std::shared_ptr< ISound > sound, bool keep=false)=0 |
| | Plays a sound source.
|
| |
| virtual void | stopAll ()=0 |
| | Stops all playing sounds.
|
| |
| virtual void | lock ()=0 |
| | Locks the device.
|
| |
| virtual void | unlock ()=0 |
| | Unlocks the previously locked device.
|
| |
| virtual float | getVolume () const =0 |
| | Retrieves the overall device volume.
|
| |
| virtual void | setVolume (float volume)=0 |
| | Sets the overall device volume.
|
| |
| virtual ISynchronizer * | getSynchronizer ()=0 |
| | Retrieves the synchronizer for this device, which enables accurate synchronization between audio playback and video playback for example.
|
| |
| virtual void | lock ()=0 |
| | Locks the object.
|
| |
| virtual void | unlock ()=0 |
| | Unlocks the previously locked object.
|
| |
This device plays nothing.
It is similar to the linux device /dev/null.