]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdspm - Fix reported external sample rate on RME MADI and MADIface
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Fri, 29 Jul 2011 01:11:03 +0000 (03:11 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Jul 2011 05:41:04 +0000 (07:41 +0200)
commit1bea24977689686532a8164ae589f059cc294d35
treeebd4c75c07d75f89583a5025a8948688391c3ea8
parentd287777ea7e4ad4b9fb911034125c894d57cf073
ALSA: hdspm - Fix reported external sample rate on RME MADI and MADIface

In slave mode, the card can only detect the base frequency (32..48kHz)
on the MADI link (exception: 96k frames), so the real external sample
rate is this base frequency multiplied by 1, 2 or 4 depending on the
speed mode.

This patch enables 64..192kHz sample rates in clock slave mode, which
failed before due to an alleged sample rate mismatch between the MADI
link (e.g., 48kHz) and the application in DS/QS mode (e.g., 96kHz,
192kHz).

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c