]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: dmix: Disable var_periodsize as default
authorTakashi Iwai <tiwai@suse.de>
Mon, 10 Apr 2017 09:47:02 +0000 (11:47 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Apr 2017 09:50:18 +0000 (11:50 +0200)
commite736715a8ed4c8690059479fd1d0e04e3320c939
tree2b17b4f709b232453c473a76f3e62bddb011faca
parentcb6e96bce1c43c26d9e12d031ed1ef027140b988
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>
src/pcm/pcm_direct.c