|
| bool | pause (bool keep) |
| | This method is for internal use only.
|
| |
| | SoftwareHandle (SoftwareDevice *device, std::shared_ptr< IReader > reader, std::shared_ptr< PitchReader > pitch, std::shared_ptr< ResampleReader > resampler, std::shared_ptr< ChannelMapperReader > mapper, bool keep) |
| | Creates a new software handle.
|
| |
|
void | update () |
| | Updates the handle's playback parameters.
|
| |
| void | setSpecs (Specs specs) |
| | Sets the audio output specification of the readers.
|
| |
| virtual bool | pause () |
| | Pauses a played back sound.
|
| |
| virtual bool | resume () |
| | Resumes a paused sound.
|
| |
| virtual bool | stop () |
| | Stops a played back or paused sound.
|
| |
| virtual bool | getKeep () |
| | Gets the behaviour of the device for a played back sound when the sound doesn't return any more samples.
|
| |
| virtual bool | setKeep (bool keep) |
| | Sets the behaviour of the device for a played back sound when the sound doesn't return any more samples.
|
| |
| virtual bool | seek (double position) |
| | Seeks in a played back sound.
|
| |
| virtual double | getPosition () |
| | Retrieves the current playback position of a sound.
|
| |
| virtual Status | getStatus () |
| | Returns the status of a played back sound.
|
| |
| virtual float | getVolume () |
| | Retrieves the volume of a playing sound.
|
| |
| virtual bool | setVolume (float volume) |
| | Sets the volume of a playing sound.
|
| |
| virtual float | getPitch () |
| | Retrieves the pitch of a playing sound.
|
| |
| virtual bool | setPitch (float pitch) |
| | Sets the pitch of a playing sound.
|
| |
| virtual int | getLoopCount () |
| | Retrieves the loop count of a playing sound.
|
| |
| virtual bool | setLoopCount (int count) |
| | Sets the loop count of a playing sound.
|
| |
| virtual bool | setStopCallback (stopCallback callback=0, void *data=0) |
| | Sets the callback function that's called when the end of a playing sound is reached.
|
| |
| virtual Vector3 | getLocation () |
| | Retrieves the location of the source.
|
| |
| virtual bool | setLocation (const Vector3 &location) |
| | Sets the location of the source.
|
| |
| virtual Vector3 | getVelocity () |
| | Retrieves the velocity of the source.
|
| |
| virtual bool | setVelocity (const Vector3 &velocity) |
| | Sets the velocity of the source.
|
| |
| virtual Quaternion | getOrientation () |
| | Retrieves the orientation of the source.
|
| |
| virtual bool | setOrientation (const Quaternion &orientation) |
| | Sets the orientation of the source.
|
| |
| virtual bool | isRelative () |
| | Checks whether the source location, velocity and orientation are relative to the listener.
|
| |
| virtual bool | setRelative (bool relative) |
| | Sets whether the source location, velocity and orientation are relative to the listener.
|
| |
| virtual float | getVolumeMaximum () |
| | Retrieves the maximum volume of a source.
|
| |
| virtual bool | setVolumeMaximum (float volume) |
| | Sets the maximum volume of a source.
|
| |
| virtual float | getVolumeMinimum () |
| | Retrieves the minimum volume of a source.
|
| |
| virtual bool | setVolumeMinimum (float volume) |
| | Sets the minimum volume of a source.
|
| |
| virtual float | getDistanceMaximum () |
| | Retrieves the maximum distance of a source.
|
| |
| virtual bool | setDistanceMaximum (float distance) |
| | Sets the maximum distance of a source.
|
| |
| virtual float | getDistanceReference () |
| | Retrieves the reference distance of a source.
|
| |
| virtual bool | setDistanceReference (float distance) |
| | Sets the reference distance of a source.
|
| |
| virtual float | getAttenuation () |
| | Retrieves the attenuation of a source.
|
| |
| virtual bool | setAttenuation (float factor) |
| | Sets the attenuation of a source.
|
| |
| virtual float | getConeAngleOuter () |
| | Retrieves the outer opening angle of the cone of a source.
|
| |
| virtual bool | setConeAngleOuter (float angle) |
| | Sets the outer opening angle of the cone of a source.
|
| |
| virtual float | getConeAngleInner () |
| | Retrieves the inner opening angle of the cone of a source.
|
| |
| virtual bool | setConeAngleInner (float angle) |
| | Sets the inner opening angle of the cone of a source.
|
| |
| virtual float | getConeVolumeOuter () |
| | Retrieves the outer volume of the cone of a source.
|
| |
| virtual bool | setConeVolumeOuter (float volume) |
| | Sets the outer volume of the cone of a source.
|
| |
Public Member Functions inherited from IHandle |
|
virtual | ~IHandle () |
| | Destroys the handle.
|
| |
| virtual bool | pause ()=0 |
| | Pauses a played back sound.
|
| |
| virtual bool | resume ()=0 |
| | Resumes a paused sound.
|
| |
| virtual bool | stop ()=0 |
| | Stops a played back or paused sound.
|
| |
| virtual bool | getKeep ()=0 |
| | Gets the behaviour of the device for a played back sound when the sound doesn't return any more samples.
|
| |
| virtual bool | setKeep (bool keep)=0 |
| | Sets the behaviour of the device for a played back sound when the sound doesn't return any more samples.
|
| |
| virtual bool | seek (double position)=0 |
| | Seeks in a played back sound.
|
| |
| virtual double | getPosition ()=0 |
| | Retrieves the current playback position of a sound.
|
| |
| virtual Status | getStatus ()=0 |
| | Returns the status of a played back sound.
|
| |
| virtual float | getVolume ()=0 |
| | Retrieves the volume of a playing sound.
|
| |
| virtual bool | setVolume (float volume)=0 |
| | Sets the volume of a playing sound.
|
| |
| virtual float | getPitch ()=0 |
| | Retrieves the pitch of a playing sound.
|
| |
| virtual bool | setPitch (float pitch)=0 |
| | Sets the pitch of a playing sound.
|
| |
| virtual int | getLoopCount ()=0 |
| | Retrieves the loop count of a playing sound.
|
| |
| virtual bool | setLoopCount (int count)=0 |
| | Sets the loop count of a playing sound.
|
| |
| virtual bool | setStopCallback (stopCallback callback=0, void *data=0)=0 |
| | Sets the callback function that's called when the end of a playing sound is reached.
|
| |
Public Member Functions inherited from I3DHandle |
|
virtual | ~I3DHandle () |
| | Destroys the handle.
|
| |
| virtual Vector3 | getLocation ()=0 |
| | Retrieves the location of the source.
|
| |
| virtual bool | setLocation (const Vector3 &location)=0 |
| | Sets the location of the source.
|
| |
| virtual Vector3 | getVelocity ()=0 |
| | Retrieves the velocity of the source.
|
| |
| virtual bool | setVelocity (const Vector3 &velocity)=0 |
| | Sets the velocity of the source.
|
| |
| virtual Quaternion | getOrientation ()=0 |
| | Retrieves the orientation of the source.
|
| |
| virtual bool | setOrientation (const Quaternion &orientation)=0 |
| | Sets the orientation of the source.
|
| |
| virtual bool | isRelative ()=0 |
| | Checks whether the source location, velocity and orientation are relative to the listener.
|
| |
| virtual bool | setRelative (bool relative)=0 |
| | Sets whether the source location, velocity and orientation are relative to the listener.
|
| |
| virtual float | getVolumeMaximum ()=0 |
| | Retrieves the maximum volume of a source.
|
| |
| virtual bool | setVolumeMaximum (float volume)=0 |
| | Sets the maximum volume of a source.
|
| |
| virtual float | getVolumeMinimum ()=0 |
| | Retrieves the minimum volume of a source.
|
| |
| virtual bool | setVolumeMinimum (float volume)=0 |
| | Sets the minimum volume of a source.
|
| |
| virtual float | getDistanceMaximum ()=0 |
| | Retrieves the maximum distance of a source.
|
| |
| virtual bool | setDistanceMaximum (float distance)=0 |
| | Sets the maximum distance of a source.
|
| |
| virtual float | getDistanceReference ()=0 |
| | Retrieves the reference distance of a source.
|
| |
| virtual bool | setDistanceReference (float distance)=0 |
| | Sets the reference distance of a source.
|
| |
| virtual float | getAttenuation ()=0 |
| | Retrieves the attenuation of a source.
|
| |
| virtual bool | setAttenuation (float factor)=0 |
| | Sets the attenuation of a source.
|
| |
| virtual float | getConeAngleOuter ()=0 |
| | Retrieves the outer opening angle of the cone of a source.
|
| |
| virtual bool | setConeAngleOuter (float angle)=0 |
| | Sets the outer opening angle of the cone of a source.
|
| |
| virtual float | getConeAngleInner ()=0 |
| | Retrieves the inner opening angle of the cone of a source.
|
| |
| virtual bool | setConeAngleInner (float angle)=0 |
| | Sets the inner opening angle of the cone of a source.
|
| |
| virtual float | getConeVolumeOuter ()=0 |
| | Retrieves the outer volume of the cone of a source.
|
| |
| virtual bool | setConeVolumeOuter (float volume)=0 |
| | Sets the outer volume of the cone of a source.
|
| |
Saves the data for playback.