Updated alsa checks to support 1.0
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1485
This commit is contained in:
parent
9c01f2cc33
commit
fdcf5243aa
1 changed files with 3 additions and 1 deletions
|
@ -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 <alsa/asoundlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#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)
|
||||
|
|
Loading…
Add table
Reference in a new issue