diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-11-02 21:48:53 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-11-02 21:48:53 +0000 |
commit | 69176148bfd4a9a40a8d653997a6f2714d65776b (patch) | |
tree | 182f673305f965fbfe6a8a34a9b96ed94b6fe50e /src/audio.h | |
parent | 8b08ee82b492735947d917ed647a3e6cdf388ad3 (diff) | |
download | mpd-69176148bfd4a9a40a8d653997a6f2714d65776b.tar.gz mpd-69176148bfd4a9a40a8d653997a6f2714d65776b.tar.xz mpd-69176148bfd4a9a40a8d653997a6f2714d65776b.zip |
enabling and disabling individual audioOutputs is mostly done, just need
to add the command hooks
git-svn-id: https://svn.musicpd.org/mpd/trunk@2484 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audio.h')
-rw-r--r-- | src/audio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio.h b/src/audio.h index c81d1d265..73ad73336 100644 --- a/src/audio.h +++ b/src/audio.h @@ -28,6 +28,8 @@ #define AUDIO_AO_DRIVER_DEFAULT "default" +#define AUDIO_MAX_DEVICES 8 + typedef struct _AudioFormat { volatile mpd_sint8 channels; volatile mpd_uint32 sampleRate; @@ -42,6 +44,7 @@ void getOutputAudioFormat(AudioFormat * inFormat, AudioFormat * outFormat); int parseAudioConfig(AudioFormat * audioFormat, char * conf); +/* make sure initPlayerData is called before this function!! */ void initAudioConfig(); void finishAudioConfig(); |