From d07934a53704c486b793921435cb57d303f98365 Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Tue, 10 Oct 2000 15:53:31 +0000 Subject: [PATCH] Renamed states --- src/Makefile.am | 2 +- src/pcm/pcm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 86b41e75..ab991741 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,7 +6,7 @@ libasound_la_SOURCES = error.c libasound_la_LIBADD = control/libcontrol.la mixer/libmixer.la pcm/libpcm.la \ rawmidi/librawmidi.la timer/libtimer.la \ hwdep/libhwdep.la seq/libseq.la instr/libinstr.la \ - compat/libcompat.la conf/libconf.la -lm -ldl + compat/libcompat.la conf/libconf.la -lm -ldl -lpthread libasound_la_LDFLAGS = -version-info $(COMPATNUM) diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index 6bcf50c2..e40e5e57 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -381,7 +381,7 @@ static const char *assoc(int value, assoc_t *alist) #define FILL(v) { SND_PCM_FILL_##v, #v, #v } #define END { 0, NULL, NULL } -static assoc_t states[] = { STATE(NOTREADY), STATE(READY), STATE(PREPARED), +static assoc_t states[] = { STATE(OPEN), STATE(SETUP), STATE(PREPARED), STATE(RUNNING), STATE(XRUN), STATE(PAUSED), END }; static assoc_t streams[] = { STREAM(PLAYBACK), STREAM(CAPTURE), END }; static assoc_t xruns[] = { XRUN(ASAP), XRUN(FRAGMENT), XRUN(NONE), END }; -- 2.47.1