]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Implented xrun no detection mode, cleaned read/write functions
authorAbramo Bagnara <abramo@alsa-project.org>
Tue, 26 Sep 2000 11:05:39 +0000 (11:05 +0000)
committerAbramo Bagnara <abramo@alsa-project.org>
Tue, 26 Sep 2000 11:05:39 +0000 (11:05 +0000)
src/pcm/pcm.c

index 2f1c001dfbab5c919e12fc693af5dd33ce2f5df2..b87ea036ab1f64f668c1b14711f6054d555a2642 100644 (file)
@@ -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"),