aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audio.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/audio.h b/src/audio.h
index 98b44326e..a03c42ca9 100644
--- a/src/audio.h
+++ b/src/audio.h
@@ -33,15 +33,21 @@ typedef struct _AudioFormat {
volatile mpd_sint8 bits;
} AudioFormat;
+void getOutputAudioFormat(AudioFormat * inFormat, AudioFormat * outFormat);
+
+void initAudioConfig();
+
+void finishAudioConfig();
+
void initAudioDriver();
void finishAudioDriver();
-int initAudio(AudioFormat * audioFormat);
+int openAudioDevice(AudioFormat * audioFormat);
int playAudio(char * playChunk,int size);
-void finishAudio();
+void closeAudioDevice();
void audioError();