[ALSA] sound/core/seq: move declarations of globally visible variables to proper headers
sound/core/seq: move declarations of globally visible variables to proper headers Signed-off-by: Marcin Ślusarz <marcin.slusarz@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
36b9cdfea6
commit
3b378e1f7e
|
@ -130,8 +130,6 @@ static struct snd_seq_client *clientptr(int clientid)
|
||||||
return clienttab[clientid];
|
return clienttab[clientid];
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int seq_client_load[];
|
|
||||||
|
|
||||||
struct snd_seq_client *snd_seq_client_use_ptr(int clientid)
|
struct snd_seq_client *snd_seq_client_use_ptr(int clientid)
|
||||||
{
|
{
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
|
@ -98,4 +98,6 @@ int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table
|
||||||
int snd_seq_client_notify_subscription(int client, int port,
|
int snd_seq_client_notify_subscription(int client, int port,
|
||||||
struct snd_seq_port_subscribe *info, int evtype);
|
struct snd_seq_port_subscribe *info, int evtype);
|
||||||
|
|
||||||
|
extern int seq_client_load[15];
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -27,13 +27,6 @@
|
||||||
#include "seq_queue.h"
|
#include "seq_queue.h"
|
||||||
#include "seq_info.h"
|
#include "seq_info.h"
|
||||||
|
|
||||||
extern int seq_default_timer_class;
|
|
||||||
extern int seq_default_timer_sclass;
|
|
||||||
extern int seq_default_timer_card;
|
|
||||||
extern int seq_default_timer_device;
|
|
||||||
extern int seq_default_timer_subdevice;
|
|
||||||
extern int seq_default_timer_resolution;
|
|
||||||
|
|
||||||
/* allowed sequencer timer frequencies, in Hz */
|
/* allowed sequencer timer frequencies, in Hz */
|
||||||
#define MIN_FREQUENCY 10
|
#define MIN_FREQUENCY 10
|
||||||
#define MAX_FREQUENCY 6250
|
#define MAX_FREQUENCY 6250
|
||||||
|
|
|
@ -138,4 +138,11 @@ int snd_seq_timer_set_skew(struct snd_seq_timer *tmr, unsigned int skew, unsigne
|
||||||
snd_seq_real_time_t snd_seq_timer_get_cur_time(struct snd_seq_timer *tmr);
|
snd_seq_real_time_t snd_seq_timer_get_cur_time(struct snd_seq_timer *tmr);
|
||||||
snd_seq_tick_time_t snd_seq_timer_get_cur_tick(struct snd_seq_timer *tmr);
|
snd_seq_tick_time_t snd_seq_timer_get_cur_tick(struct snd_seq_timer *tmr);
|
||||||
|
|
||||||
|
extern int seq_default_timer_class;
|
||||||
|
extern int seq_default_timer_sclass;
|
||||||
|
extern int seq_default_timer_card;
|
||||||
|
extern int seq_default_timer_device;
|
||||||
|
extern int seq_default_timer_subdevice;
|
||||||
|
extern int seq_default_timer_resolution;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue