mirror of
https://github.com/alsa-project/alsa-utils
synced 2025-01-03 19:29:47 +01:00
Removed xrun_act. Added SND_PCM_STATE_DRAINING. Clean spinlock abuse in read/write path
This commit is contained in:
parent
543e387fc8
commit
907eba4cf9
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue