liberty-engine v0.0.14-beta.2 (2018-07-02T09:50:23Z)
Dub
Repo
AudioDevice
liberty
audio
device
final
class
AudioDevice {
this
(const(char)[] name, int iscapture, const(SDL_AudioSpec*) desired, SDL_AudioSpec* obtained, int allowed_changes);
~this
();
void
play
();
void
pause
();
void
lock
();
void
unlock
();
bool
playing
();
SDL_AudioStatus
status
();
}
Constructors
this
this
(const(char)[] name, int iscapture, const(SDL_AudioSpec*) desired, SDL_AudioSpec* obtained, int allowed_changes)
Destructor
~this
~this
()
Members
Functions
lock
void
lock
()
pause
void
pause
()
play
void
play
()
playing
bool
playing
()
status
SDL_AudioStatus
status
()
unlock
void
unlock
()
Meta
Source
See Implementation
liberty
audio
device
classes
AudioDevice