]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - alsa_write.c
the paraslash-0.3.0 release tarball
[paraslash.git] / alsa_write.c
index faadec1f673b5064465bf6151fcaa12990098359..e228069909a9fef7eae3683dc32bef0f5bb54d5d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2008 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -176,7 +176,7 @@ static int alsa_write_post_select(__a_unused struct sched *s,
 
 //     PARA_INFO_LOG("%zd frames\n", frames);
        if (!frames) {
-               if (*wng->input_eof)
+               if (*wng->input_error)
                        wn->written = *wng->loaded;
                return 1;
        }