diff options
Diffstat (limited to 'src/audio.c')
-rw-r--r-- | src/audio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/audio.c b/src/audio.c index e677f8768..605bf796e 100644 --- a/src/audio.c +++ b/src/audio.c @@ -278,6 +278,11 @@ int playAudio(char * playChunk, int size) { return 0; } +int isAudioDeviceOpen() { + if(audio_device) return 1; + return 0; +} + void closeAudioDevice() { #ifdef HAVE_AUDIO if(audio_device) { |