diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2005-09-06 02:00:19 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-09-12 04:42:05 -0400 |
commit | a4f508b27c6b32d15c923b119b3e90a2d6a9500f (patch) | |
tree | 00a153e854bb2d01ba287917132a465b090d8ca8 /sound/core/seq | |
parent | 43bcd973d6d05d16b876e09dcc49a09d3e48e88d (diff) |
[ALSA] rtctimer: add option to make RTC timer the default sequencer timer
ALSA Core,ALSA sequencer
Add an option to make the RTC timer the default sequencer timer. This
becomes necessary for precise MIDI timing when the system timer runs at
less than 1000 Hz.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/core/seq')
-rw-r--r-- | sound/core/seq/seq.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sound/core/seq/seq.c b/sound/core/seq/seq.c index 7449d2a62629..24644150f24b 100644 --- a/sound/core/seq/seq.c +++ b/sound/core/seq/seq.c | |||
@@ -43,7 +43,13 @@ int seq_client_load[64] = {[0 ... 63] = -1}; | |||
43 | int seq_default_timer_class = SNDRV_TIMER_CLASS_GLOBAL; | 43 | int seq_default_timer_class = SNDRV_TIMER_CLASS_GLOBAL; |
44 | int seq_default_timer_sclass = SNDRV_TIMER_SCLASS_NONE; | 44 | int seq_default_timer_sclass = SNDRV_TIMER_SCLASS_NONE; |
45 | int seq_default_timer_card = -1; | 45 | int seq_default_timer_card = -1; |
46 | int seq_default_timer_device = SNDRV_TIMER_GLOBAL_SYSTEM; | 46 | int seq_default_timer_device = |
47 | #ifdef CONFIG_SND_SEQ_RTCTIMER_DEFAULT | ||
48 | SNDRV_TIMER_GLOBAL_RTC | ||
49 | #else | ||
50 | SNDRV_TIMER_GLOBAL_SYSTEM | ||
51 | #endif | ||
52 | ; | ||
47 | int seq_default_timer_subdevice = 0; | 53 | int seq_default_timer_subdevice = 0; |
48 | int seq_default_timer_resolution = 0; /* Hz */ | 54 | int seq_default_timer_resolution = 0; /* Hz */ |
49 | 55 | ||