]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdspm - Enable 32 samples/period on RME RayDAT/AIO
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Sun, 14 Aug 2011 22:22:54 +0000 (00:22 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 Aug 2011 08:25:39 +0000 (10:25 +0200)
commit8d130655066060cba3cd01164e7e44f2a8a44d81
tree5995e5800a182bb739fe2d5e2d9f556c6f7e73ef
parent1062138df24dad36c62e3453a5d5e0e9a81f8eda
ALSA: hdspm - Enable 32 samples/period on RME RayDAT/AIO

Newer RME cards like RayDAT and AIO support 32 samples per period. This
value is encoded as {1,1,1} in the HDSP_LatencyMask bits in the control
register.

Since {1,1,1} is also the representation for 8192 samples/period on
older RME cards, we have to special case 32 samples and 32768 bytes
according to the actual card.

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