X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=alsa_write.c;h=ba844db2b2b419363b01d1d1d21e28411ae92b37;hp=16497bdf222d8b16c155fe41ab22999bc60f366e;hb=9c5fbc5dd8b53604d7e73fb6714ee2b5e3458866;hpb=35e284e06a5c8e20d02b61fdcb4bcc20b237c1e4 diff --git a/alsa_write.c b/alsa_write.c index 16497bdf..ba844db2 100644 --- a/alsa_write.c +++ b/alsa_write.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2012 Andre Noll + * Copyright (C) 2005-2013 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -247,8 +247,10 @@ static void alsa_write_post_select(__a_unused struct sched *s, snd_pcm_sframes_t frames; int ret; + ret = task_get_notification(t); + if (ret < 0) + goto err; again: - t->error = 0; ret = btr_node_status(btrn, wn->min_iqs, BTR_NT_LEAF); if (ret == 0) return;