diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-06-05 16:11:07 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-06-05 16:44:13 +0200 |
commit | b7bbf876087e0e2c0ba723a8398083c9a9ac1dfd (patch) | |
tree | 69a3e70658fc751ffc99eef5a6f047b19f61a4a2 /sound/pci/ctxfi/ct20k1reg.h | |
parent | 6bc5874a1ddf98ac0fe6c4eab7d286c11cb1c748 (diff) | |
download | blackbird-op-linux-b7bbf876087e0e2c0ba723a8398083c9a9ac1dfd.tar.gz blackbird-op-linux-b7bbf876087e0e2c0ba723a8398083c9a9ac1dfd.zip |
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>
Diffstat (limited to 'sound/pci/ctxfi/ct20k1reg.h')
-rw-r--r-- | sound/pci/ctxfi/ct20k1reg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ctxfi/ct20k1reg.h b/sound/pci/ctxfi/ct20k1reg.h index c62e6775dab3..f2e34e3f27ee 100644 --- a/sound/pci/ctxfi/ct20k1reg.h +++ b/sound/pci/ctxfi/ct20k1reg.h @@ -589,6 +589,8 @@ #define WC 0x1C6000 #define TIMR 0x1C6004 +# define TIMR_IE (1<<15) +# define TIMR_IP (1<<14) #define GIP 0x1C6010 #define GIE 0x1C6014 |