From fdcf5243aab976139245def28b7cf4a7528523b4 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 10 Dec 2003 18:28:25 +0000 Subject: [PATCH] Updated alsa checks to support 1.0 Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1485 --- src/gui/midi_alsa.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/midi_alsa.h b/src/gui/midi_alsa.h index 9f13a652..fad0d4f7 100644 --- a/src/gui/midi_alsa.h +++ b/src/gui/midi_alsa.h @@ -16,12 +16,14 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* $Id: midi_alsa.h,v 1.4 2003-12-10 18:28:25 qbix79 Exp $ */ + #include #include #define ADDR_DELIM ".:" -#if SND_LIB_MINOR >= 6 +#if ((SND_LIB_MINOR >= 6) && (SND_LIB_MAJOR == 0)) || (SND_LIB_MAJOR >= 1) #define snd_seq_flush_output(x) snd_seq_drain_output(x) #define snd_seq_set_client_group(x,name) /*nop */ #define my_snd_seq_open(seqp) snd_seq_open(seqp, "hw", SND_SEQ_OPEN_OUTPUT, 0)