X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=alsa_write.c;h=e228069909a9fef7eae3683dc32bef0f5bb54d5d;hp=faadec1f673b5064465bf6151fcaa12990098359;hb=73aebb78da7297053f41dba5b3f0cefb33ad248e;hpb=14960ed632ff6a07e5d4ae4a6b02f0f1da19a5b9;ds=sidebyside diff --git a/alsa_write.c b/alsa_write.c index faadec1f..e2280699 100644 --- a/alsa_write.c +++ b/alsa_write.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2007 Andre Noll + * Copyright (C) 2005-2008 Andre Noll * * 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; }