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)
commitb7bbf876087e0e2c0ba723a8398083c9a9ac1dfd
tree69a3e70658fc751ffc99eef5a6f047b19f61a4a2
parent6bc5874a1ddf98ac0fe6c4eab7d286c11cb1c748
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]