]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: add snd_pcm_hw_rule_noresample()
authorClemens Ladisch <clemens@ladisch.de>
Fri, 16 Sep 2011 21:03:02 +0000 (23:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Sep 2011 06:56:45 +0000 (08:56 +0200)
commit54a5d7a5507a7bffbde957d945a44c63904e1022
treea2bdccd13ad840c8f71f848e3f4d096839a322df
parentfe5328e69ac16914f29a311c5a5540d358360a68
ALSA: pcm: add snd_pcm_hw_rule_noresample()

Add a helper function to allow drivers to disable hardware resampling
when the application has specified the SNDRV_PCM_HW_PARAMS_NORESAMPLE
flag.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_lib.c