From 907eba4cf9e83a78d2578bafdc68d897a03d4061 Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Mon, 2 Oct 2000 20:23:29 +0000 Subject: [PATCH] Removed xrun_act. Added SND_PCM_STATE_DRAINING. Clean spinlock abuse in read/write path --- aplay/aplay.c | 1 - 1 file changed, 1 deletion(-) diff --git a/aplay/aplay.c b/aplay/aplay.c index b74611f..414d504 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -788,7 +788,6 @@ static void set_params(void) params.start_mode = SND_PCM_START_DATA; params.xfer_mode = xfer_mode; params.xrun_mode = xrun_mode; - params.xrun_act = SND_PCM_XRUN_ACT_DRAIN; params.frag_size = format.rate * frag_length / 1000; params.buffer_size = format.rate * buffer_length / 1000; params.avail_min = format.rate * avail_min / 1000;