Voice
Declaration
public abstract class Strawberry.Sound.Voice
Inherits: Strawberry.DisposableReferenceObject
Properties
Buffer abstract
SoundBuffer Buffer { get }
CurrentPlayTime abstract
Gets the current play time of the voice in seconds.
float CurrentPlayTime { get set }
Volume abstract
Gets or sets the playback volume for this voice. This property allows real-time volume adjustment during playback.
float Volume { get set }
Methods
IsPlaying abstract
Checks whether the voice is beign played.
bool IsPlaying()
Returns: True if the voice is playing, Otherwise false.
IsPaused abstract
Checks wether the voice is paused.
bool IsPaused()
Returns: True if the voice is paused, Otherwise false.
Stop abstract
Stops the voice from playing.
void Stop()
Pause abstract
Pauses the voice.
void Pause()
Resume abstract
Resumes the voice.
void Resume()