diff options
author | Max Kellermann <max@duempel.org> | 2009-02-10 18:51:49 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-10 18:51:49 +0100 |
commit | a3a6eefcfe6f8b8129ac36a70243ca90e651a7fc (patch) | |
tree | 8f30130c658f5f819da2ec4f659159654b741aba /src/audio.h | |
parent | e7505381eb4fa708afa7de6fd50f29736ccf3d5e (diff) | |
download | mpd-a3a6eefcfe6f8b8129ac36a70243ca90e651a7fc.tar.gz mpd-a3a6eefcfe6f8b8129ac36a70243ca90e651a7fc.tar.xz mpd-a3a6eefcfe6f8b8129ac36a70243ca90e651a7fc.zip |
audio: moved code to output_all.c
Moved code which deals with all audio outputs at once into a separate
library.
Diffstat (limited to 'src/audio.h')
-rw-r--r-- | src/audio.h | 40 |
1 files changed, 0 insertions, 40 deletions
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 <stdbool.h> -#include <stddef.h> - -#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); |