[ALSA] sound/core/: possible cleanups
PCM Midlevel,ALSA Core,Timer Midlevel,ALSA sequencer,Virtual Midi This patch contains the following possible cleanups: - make needlessly global code static - #if 0 the following unused global functions - remove the following unneeded EXPORT_SYMBOL's Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Jaroslav Kysela
parent
5218064c88
commit
123992f728
@@ -36,7 +36,8 @@ extern int seq_default_timer_resolution;
|
||||
|
||||
#define SKEW_BASE 0x10000 /* 16bit shift */
|
||||
|
||||
void snd_seq_timer_set_tick_resolution(seq_timer_tick_t *tick, int tempo, int ppq, int nticks)
|
||||
static void snd_seq_timer_set_tick_resolution(seq_timer_tick_t *tick,
|
||||
int tempo, int ppq, int nticks)
|
||||
{
|
||||
if (tempo < 1000000)
|
||||
tick->resolution = (tempo * 1000) / ppq;
|
||||
|
Reference in New Issue
Block a user