mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
pcm: dmix: Disable var_periodsize as default
The recently added variable period-size feature for dmix & co seems causing a regression on some old applications; e.g. Audacious aborts with an error: ALSA error: snd_pcm_hw_params_set_buffer_time_near failed: Invalid argument. As a quick fix, disable the feature as default. One can still enable it via asoundrc. Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=1033179 Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
cb6e96bce1
commit
e736715a8e
1 changed files with 1 additions and 1 deletions
|
|
@ -1875,7 +1875,7 @@ int snd_pcm_direct_parse_open_conf(snd_config_t *root, snd_config_t *conf,
|
||||||
rec->ipc_gid = -1;
|
rec->ipc_gid = -1;
|
||||||
rec->slowptr = 1;
|
rec->slowptr = 1;
|
||||||
rec->max_periods = 0;
|
rec->max_periods = 0;
|
||||||
rec->var_periodsize = 1;
|
rec->var_periodsize = 0;
|
||||||
rec->direct_memory_access = 1;
|
rec->direct_memory_access = 1;
|
||||||
|
|
||||||
/* read defaults */
|
/* read defaults */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue