From a3a6eefcfe6f8b8129ac36a70243ca90e651a7fc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 10 Feb 2009 18:51:49 +0100 Subject: audio: moved code to output_all.c Moved code which deals with all audio outputs at once into a separate library. --- src/audio.h | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'src/audio.h') diff --git a/src/audio.h b/src/audio.h index 2ccebc358..865890485 100644 --- a/src/audio.h +++ b/src/audio.h @@ -20,32 +20,8 @@ #define MPD_AUDIO_H #include -#include - -#define AUDIO_AO_DRIVER_DEFAULT "default" struct audio_format; -struct tag; -struct config_param; - -/** - * Returns the total number of audio output devices, including those - * who are disabled right now. - */ -unsigned int audio_output_count(void); - -/** - * Returns the "i"th audio output device. - */ -struct audio_output * -audio_output_get(unsigned i); - -/** - * Returns the audio output device with the specified name. Returns - * NULL if the name does not exist. - */ -struct audio_output * -audio_output_find(const char *name); void getOutputAudioFormat(const struct audio_format *inFormat, struct audio_format *outFormat); @@ -57,22 +33,6 @@ void initAudioConfig(void); void finishAudioConfig(void); -void initAudioDriver(void); - -void finishAudioDriver(void); - -bool openAudioDevice(const struct audio_format *audioFormat); - -bool playAudio(const char *playChunk, size_t size); - -void audio_output_pause_all(void); - -void dropBufferedAudio(void); - -void closeAudioDevice(void); - -void sendMetadataToAudioDevice(const struct tag *tag); - /* these functions are called in the main parent process while the child process is busy playing to the audio */ int enableAudioDevice(unsigned int device); -- cgit v1.2.3