From: Abramo Bagnara Date: Tue, 26 Sep 2000 11:05:39 +0000 (+0000) Subject: Implented xrun no detection mode, cleaned read/write functions X-Git-Tag: v1.0.3~1124 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=e87a0a845f01bd971671fdb90b021630ef5d0771;p=alsa-lib.git Implented xrun no detection mode, cleaned read/write functions --- diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index 2f1c001d..b87ea036 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -376,7 +376,7 @@ static const char *assoc(int value, assoc_t *alist) static assoc_t states[] = { STATE(NOTREADY), STATE(READY), 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), END }; +static assoc_t xruns[] = { XRUN(ASAP), XRUN(FRAGMENT), XRUN(NONE), END }; static assoc_t fmts[] = { SFMT(S8, "Signed 8-bit"), SFMT(U8, "Unsigned 8-bit"),