[alsa-devel] bugfix for RME HDSPM alsa driver
Hi,
I have had the following problem with the RME HDSPM alsa driver:
settings of card: Preferred Sync Reference = Word Sample Clock Source = AutoSync and no input plugged in (neither madi nor optical) playing a file (important!)
Monitoring the external rate with amixer, the value was jumping between "None" and "48000 kHz".
The proc output showed that the sample rate on word clock was still right at 48000 kHz while the external rate was jumping here, too. External rate seems to jump between word clock and madi input select.
When "Preferred Sync Reference = Word" is selected, just the word clock rate should be displayed!
I fixed the problem with following patch in alsa-driver-1.0.16/alsa-kernel/pci/rme9652/hdspm.c in function hdspm_external_sample_rate() line 668:
There was a typo: instead of status2, status was used.
668c668 < (status & HDSPM_SelSyncRef0) == 0) { ---
(status2 & HDSPM_SelSyncRef0) == 0) {
(same way as in snd_hdspm_proc_read_madi function line 3123)
greetings
participants (1)
-
ListsAccount