Renamed states

This commit is contained in:
Abramo Bagnara 2000-10-10 15:53:31 +00:00
parent 17e8adabdb
commit d07934a537
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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 };