move amsg.h on libsndio side

This commit is contained in:
Alexandre Ratchov 2011-04-28 00:25:20 +02:00
parent d12861225f
commit 5fdf55ede7
5 changed files with 23 additions and 22 deletions

View File

@ -61,17 +61,17 @@ abuf.o: abuf.c abuf.h aparams.h aproc.h file.h conf.h dbg.h
aparams.o: aparams.c aparams.h dbg.h
aproc.o: aproc.c abuf.h aparams.h aproc.h file.h conf.h midi.h \
dbg.h
aucat.o: aucat.c ../bsd-compat/bsd-compat.h abuf.h aparams.h \
aproc.h file.h conf.h dev.h listen.h midi.h opt.h wav.h \
pipe.h dbg.h
aucat.o: aucat.c ../bsd-compat/bsd-compat.h abuf.h \
../libsndio/amsg.h aparams.h aproc.h file.h conf.h dev.h \
listen.h midi.h opt.h wav.h pipe.h dbg.h
dbg.o: dbg.c dbg.h
dev.o: dev.c abuf.h aproc.h aparams.h file.h conf.h dev.h \
pipe.h miofile.h siofile.h midi.h opt.h dbg.h
file.o: file.c abuf.h aproc.h aparams.h file.h conf.h dbg.h
headers.o: headers.c aparams.h conf.h wav.h pipe.h file.h \
../bsd-compat/bsd-compat.h
listen.o: listen.c conf.h listen.h aparams.h file.h sock.h amsg.h \
pipe.h ../bsd-compat/bsd-compat.h
listen.o: listen.c conf.h listen.h aparams.h file.h sock.h \
../libsndio/amsg.h pipe.h ../bsd-compat/bsd-compat.h
midi.o: midi.c abuf.h aproc.h aparams.h file.h conf.h dev.h \
midi.h dbg.h ../bsd-compat/bsd-compat.h
miofile.o: miofile.c conf.h file.h miofile.h dbg.h
@ -80,7 +80,8 @@ pipe.o: pipe.c conf.h pipe.h file.h dbg.h
siofile.o: siofile.c aparams.h aproc.h file.h abuf.h conf.h dev.h \
siofile.h dbg.h
sock.o: sock.c abuf.h aproc.h aparams.h file.h conf.h dev.h \
midi.h opt.h sock.h amsg.h pipe.h dbg.h \
midi.h opt.h sock.h ../libsndio/amsg.h pipe.h dbg.h \
../bsd-compat/bsd-compat.h
wav.o: wav.c abuf.h aproc.h aparams.h file.h conf.h dev.h \
midi.h wav.h pipe.h opt.h dbg.h

View File

@ -35,6 +35,7 @@
#include <unistd.h>
#include "abuf.h"
#include "amsg.h"
#include "aparams.h"
#include "aproc.h"
#include "conf.h"

View File

@ -30,15 +30,6 @@
extern int debug_level;
#endif
/*
* socket and option names
*/
#define AUCAT_PATH "aucat"
#define MIDICAT_PATH "midicat"
#define AUCAT_PORT 11025
#define MIDICAT_PORT 11041
#define DEFAULT_OPT "default"
/*
* MIDI buffer size
*/

View File

@ -1,5 +1,5 @@
# extra includes paths (-I options)
INCLUDE = -I../aucat -I../bsd-compat
INCLUDE = -I../bsd-compat
# extra libraries paths (-L options)
LIB =
@ -125,17 +125,17 @@ strlcpy.o: ../bsd-compat/strlcpy.c
strtonum.o: ../bsd-compat/strtonum.c
${CC} ${CFLAGS} ${SO_CFLAGS} ${INCLUDE} ${DEFS} -c -o strtonum.o ../bsd-compat/strtonum.c
aucat.o: aucat.c aucat.h ../aucat/amsg.h ../aucat/conf.h debug.h \
aucat.o: aucat.c aucat.h amsg.h debug.h \
../bsd-compat/bsd-compat.h
debug.o: debug.c debug.h ../bsd-compat/bsd-compat.h
mio.o: mio.c debug.h mio_priv.h sndio.h \
../bsd-compat/bsd-compat.h
mio_aucat.o: mio_aucat.c aucat.h ../aucat/amsg.h ../aucat/conf.h \
debug.h mio_priv.h sndio.h ../bsd-compat/bsd-compat.h
mio_aucat.o: mio_aucat.c aucat.h amsg.h debug.h mio_priv.h sndio.h \
../bsd-compat/bsd-compat.h
mio_rmidi.o: mio_rmidi.c debug.h mio_priv.h sndio.h
sio.o: sio.c debug.h sio_priv.h sndio.h \
../bsd-compat/bsd-compat.h
sio_alsa.o: sio_alsa.c debug.h sio_priv.h sndio.h
sio_aucat.o: sio_aucat.c aucat.h ../aucat/amsg.h ../aucat/conf.h \
debug.h sio_priv.h sndio.h ../bsd-compat/bsd-compat.h
sio_aucat.o: sio_aucat.c aucat.h amsg.h debug.h sio_priv.h sndio.h \
../bsd-compat/bsd-compat.h
sio_sun.o: sio_sun.c debug.h sio_priv.h sndio.h

View File

@ -18,7 +18,15 @@
#define AMSG_H
#include <stdint.h>
#include "conf.h"
/*
* socket and option names
*/
#define AUCAT_PATH "aucat"
#define MIDICAT_PATH "midicat"
#define AUCAT_PORT 11025
#define MIDICAT_PORT 11041
#define DEFAULT_OPT "default"
/*
* WARNING: since the protocol may be simultaneously used by static