]> git.alsa-project.org Git - alsa-oss.git/commit
Workaround for aoss + dmix with unaligned rates
authorTakashi Iwai <tiwai@suse.de>
Mon, 28 Apr 2014 14:57:18 +0000 (16:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Apr 2014 14:57:18 +0000 (16:57 +0200)
commit22dc53a906f3550b4ad0ce82684d98228d95713c
tree961742956c3f9f99addb1b7a764d9e6d83094f67
parent40357524a04019173d7073b683ebc2465c3db30a
Workaround for aoss + dmix with unaligned rates

When an OSS stream is setup (e.g. two periods) with a rate that
doesn't align with the fixed rate of the slave PCM, dmix can't
establish the hw_params properly.  As a dirty workaround, set either
only min or max periods so that they don't conflict with each other.

Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=874342
Signed-off-by: Takashi Iwai <tiwai@suse.de>
alsa/pcm.c