From c22a53d373f840569c56a1b3f6a774fc94b1e1e1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 1 Aug 2006 10:07:07 +0000 Subject: 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 --- src/audio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/audio.h') 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); -- cgit v1.2.3