]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ctxfi - Use native timer interrupt on emu20k1
authorTakashi Iwai <tiwai@suse.de>
Fri, 5 Jun 2009 14:11:07 +0000 (16:11 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Jun 2009 14:44:13 +0000 (16:44 +0200)
commit6683ccb64b86937c7caa983a89074103662109a1
tree69a3e70658fc751ffc99eef5a6f047b19f61a4a2
parent8841e16027bf17eb3c1c7e7d69a869111da05746
ALSA: ctxfi - Use native timer interrupt on emu20k1

emu20k1 has a native timer interrupt based on the audio clock, which
is more accurate than the system timer (from the synchronization POV).
This patch adds the code to handle this with multiple streams.

The system timer is still used on emu20k2, and can be used also for
emu20k1 easily by changing USE_SYSTEM_TIMER to 1 in cttimer.c.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/Makefile
sound/pci/ctxfi/ct20k1reg.h
sound/pci/ctxfi/ctatc.c
sound/pci/ctxfi/ctatc.h
sound/pci/ctxfi/cthardware.h
sound/pci/ctxfi/cthw20k1.c
sound/pci/ctxfi/ctpcm.c
sound/pci/ctxfi/cttimer.c [new file with mode: 0644]
sound/pci/ctxfi/cttimer.h [new file with mode: 0644]