mirror of https://github.com/ericonr/sndio.git
include types.h rather that param.h, use unsigned for magic
This commit is contained in:
parent
a268087ed6
commit
759c751cfd
|
@ -17,7 +17,7 @@
|
||||||
#ifndef SNDIO_H
|
#ifndef SNDIO_H
|
||||||
#define SNDIO_H
|
#define SNDIO_H
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* default audio device and MIDI port
|
* default audio device and MIDI port
|
||||||
|
@ -51,7 +51,7 @@ struct sio_par {
|
||||||
unsigned int round; /* optimal bufsz divisor */
|
unsigned int round; /* optimal bufsz divisor */
|
||||||
unsigned int appbufsz; /* minimum buffer size */
|
unsigned int appbufsz; /* minimum buffer size */
|
||||||
int __pad[3]; /* for future use */
|
int __pad[3]; /* for future use */
|
||||||
int __magic; /* for internal/debug purposes only */
|
unsigned int __magic; /* for internal/debug purposes only */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue