ALSA: emu10k1: Allow to switch hardware sampe rate on EMU
authorMihail Zenkov <mihail.zenkov@gmail.com>
Fri, 22 Feb 2013 17:59:38 +0000 (17:59 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 Feb 2013 12:39:51 +0000 (13:39 +0100)
commitd0ec95fe6a8d9c7da6f9ff885cecbe7e328e2a2e
tree47b30cc91cac2da330d0d9c5ad9b276b1f6ff822
parent8554ee405713f8572ed2e8b7d711f4884f253181
ALSA: emu10k1: Allow to switch hardware sampe rate on EMU

Commit 57e5c63007955838043e34c732d224b2cbbb128f "emu10k1: allow to
 disable the SRC" force hardware use only one rate (48000 hz).
EMU 0404/1010/1616 have support two hardware sampling rates (44100 and
48000 hz). This patch add check if we have EMU 0404/1010/1616 and
choose correct sample rate to restrict.

Signed-off-by: Mihail Zenkov <mihail.zenkov@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emupcm.c