aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-08-01 10:07:07 +0000
committerEric Wong <normalperson@yhbt.net>2006-08-01 10:07:07 +0000
commitc22a53d373f840569c56a1b3f6a774fc94b1e1e1 (patch)
tree17619e6e941790c0fb4871e451308496e57f28c7 /src/audio.h
parent89073cfbba6126ce28221ad54e75a69b05b21fd6 (diff)
downloadmpd-c22a53d373f840569c56a1b3f6a774fc94b1e1e1.tar.gz
mpd-c22a53d373f840569c56a1b3f6a774fc94b1e1e1.tar.xz
mpd-c22a53d373f840569c56a1b3f6a774fc94b1e1e1.zip
audio: remove AUDIO_MAX_DEVICES limit
Some people have more than 8 devices (the old limit). It's pretty easy to support as many as our hardware and OS allows so we might as well. git-svn-id: https://svn.musicpd.org/mpd/trunk@4513 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audio.h')
-rw-r--r--src/audio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio.h b/src/audio.h
index 70cc551fd..7a811d9db 100644
--- a/src/audio.h
+++ b/src/audio.h
@@ -28,14 +28,14 @@
#define AUDIO_AO_DRIVER_DEFAULT "default"
-#define AUDIO_MAX_DEVICES 8
-
typedef struct _AudioFormat {
volatile mpd_sint8 channels;
volatile mpd_uint32 sampleRate;
volatile mpd_sint8 bits;
} AudioFormat;
+size_t audio_device_count(void);
+
void copyAudioFormat(AudioFormat * dest, AudioFormat * src);
int cmpAudioFormat(AudioFormat * dest, AudioFormat * src);