aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutput.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-10-20 16:48:22 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-10-20 16:48:22 +0000
commitf4d75d7596c02ed1cc6ff30310268eacfc6e75a8 (patch)
tree0f229d564f7963cc2710326547683e52d037fd4b /src/audioOutput.h
parentce5773848cb297043bda7a0ab0cc3e0081bffdcf (diff)
downloadmpd-f4d75d7596c02ed1cc6ff30310268eacfc6e75a8.tar.gz
mpd-f4d75d7596c02ed1cc6ff30310268eacfc6e75a8.tar.xz
mpd-f4d75d7596c02ed1cc6ff30310268eacfc6e75a8.zip
ok, now we're using some of the new audioOutput layer stuff, needs some serious testing, and there maybe some serios BREAKAGE
git-svn-id: https://svn.musicpd.org/mpd/trunk@2279 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutput.h')
-rw-r--r--src/audioOutput.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/audioOutput.h b/src/audioOutput.h
index fd76e4772..8fec7e503 100644
--- a/src/audioOutput.h
+++ b/src/audioOutput.h
@@ -41,7 +41,7 @@ typedef int (* AudioOutputPlayFunc) (AudioOutput * audioOutput,
typedef void (* AudioOutputCloseDeviceFunc) (AudioOutput * audioOutput);
struct _AudioOutput {
- int error;
+ int open;
AudioOutputFinishDriverFunc finishDriverFunc;
AudioOutputOpenDeviceFunc openDeviceFunc;
@@ -60,12 +60,15 @@ typedef struct _AudioOutputPlugin {
AudioOutputCloseDeviceFunc closeDeviceFunc;
} AudioOutputPlugin;
+void initAudioOutputPlugins();
+void finishAudioOutputPlugins();
+
void loadAudioOutputPlugin(AudioOutputPlugin * audioOutputPlugin);
void unloadAudioOutputPlugin(AudioOutputPlugin * audioOutputPlugin);
AudioOutput * newAudioOutput(char * name);
int openAudioOutput(AudioOutput * audioOutput, AudioFormat * audioFormat);
-int audioOutputPlay(AudioOutput * audioOutput, char * playChunk, int size);
+int playAudioOutput(AudioOutput * audioOutput, char * playChunk, int size);
void closeAudioOutput(AudioOutput * audioOutput);
void finishAudioOutput(AudioOutput * audioOutput);