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)
commitd5b702a64b4c273c8eed7e4e721364493d01fdc9
treea2bdccd13ad840c8f71f848e3f4d096839a322df
parent84f9df159df6311f33ab16637772788cf3729ede
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