]> bbs.cooldavid.org Git - net-next-2.6.git/commit - sound/pci/rme9652/hdsp.c
[ALSA] hdsp - RME 9632 fix at 192kHz
authorRemy Bruno <remy.bruno@trinnov.com>
Fri, 22 Feb 2008 16:57:02 +0000 (17:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:15 +0000 (12:00 +0200)
commit47ba97f8fa01bb5b48e73b4b1271fbf1436a2d4b
treed77b5f4c4aa99fe6cb3732b0678634ae8c3555f1
parentae0afd81b34ce287ffda7dd4e33b5144de2ad39d
[ALSA] hdsp - RME 9632 fix at 192kHz

The bits indicating SPDIF frequency in the status register are not the same for
the 9632 than for the other cards, because it also supports 192kHz. A specific
bitmask has thus been added (used in hdsp_spdif_sample_rate()).
The 9632 does not seem to report external sample rates greater than 96kHz. In
this case, the best seems to report spdif rate when autosync reference is
spdif. This also required to move function hdsp_spdif_sample_rate().

Signed-off-by: Remy Bruno <remy.bruno@trinnov.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdsp.c