X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsound%2Fseq_kernel.h;h=a64fb3f9492e023052057fde4b3d61de5cefe7b1;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=d0b69fbef92413d57928c60faa347e99f9d86bd3;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/sound/seq_kernel.h b/include/sound/seq_kernel.h index d0b69fbef..a64fb3f94 100644 --- a/include/sound/seq_kernel.h +++ b/include/sound/seq_kernel.h @@ -129,8 +129,8 @@ typedef struct _snd_seq_queue queue_t; typedef struct { void *private_data; - int allow_input: 1, - allow_output: 1; + unsigned allow_input: 1, + allow_output: 1; /*...*/ } snd_seq_client_callback_t; @@ -168,6 +168,9 @@ typedef int (*snd_seq_dump_func_t)(void *ptr, void *buf, int count); int snd_seq_expand_var_event(const snd_seq_event_t *event, int count, char *buf, int in_kernel, int size_aligned); int snd_seq_dump_var_event(const snd_seq_event_t *event, snd_seq_dump_func_t func, void *private_data); +/* interface for OSS emulation */ +int snd_seq_set_queue_tempo(int client, snd_seq_queue_tempo_t *tempo); + /* port callback routines */ void snd_port_init_callback(snd_seq_port_callback_t *p); snd_seq_port_callback_t *snd_port_alloc_callback(void);