]> git.karo-electronics.de Git - linux-beck.git/commit
ALSA: hda: option to enable arbitrary buffer/period sizes
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 4 Aug 2011 15:12:56 +0000 (10:12 -0500)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Aug 2011 15:44:36 +0000 (17:44 +0200)
commit2ae66c26550cd94b0e2606a9275eb0ab7070ad0e
tree2822549ce2ef46d1499402139a2d8f484b00a3ff
parentd66fee5d65d947da32783ab0c32511ffe55ff5f3
ALSA: hda: option to enable arbitrary buffer/period sizes

Add new parameter to disable rounding of buffer/period sizes to
multiples of 128 bytes. This is more efficient in terms of memory
access but isn't required by the HDA spec and prevents users from
specifying exact period/buffer sizes. For example for 44.1kHz, a
period size set to 20ms will be rounded to 19.59ms.

Tested and enabled on Intel HDA controllers. Option is disabled by
default for other controllers.

Tested-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/alsa/ALSA-Configuration.txt
sound/pci/hda/hda_intel.c