aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/seq_kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sound/seq_kernel.h')
-rw-r--r--include/sound/seq_kernel.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/sound/seq_kernel.h b/include/sound/seq_kernel.h
index 1b60890b44cd..77cf57e21489 100644
--- a/include/sound/seq_kernel.h
+++ b/include/sound/seq_kernel.h
@@ -60,15 +60,6 @@ typedef union snd_seq_timestamp snd_seq_timestamp_t;
60/* max size of event size */ 60/* max size of event size */
61#define SNDRV_SEQ_MAX_EVENT_LEN 0x3fffffff 61#define SNDRV_SEQ_MAX_EVENT_LEN 0x3fffffff
62 62
63/* call-backs for kernel client */
64
65struct snd_seq_client_callback {
66 void *private_data;
67 unsigned allow_input: 1,
68 allow_output: 1;
69 /*...*/
70};
71
72/* call-backs for kernel port */ 63/* call-backs for kernel port */
73struct snd_seq_port_callback { 64struct snd_seq_port_callback {
74 struct module *owner; 65 struct module *owner;
@@ -84,8 +75,7 @@ struct snd_seq_port_callback {
84}; 75};
85 76
86/* interface for kernel client */ 77/* interface for kernel client */
87int snd_seq_create_kernel_client(struct snd_card *card, int client_index, 78int snd_seq_create_kernel_client(struct snd_card *card, int client_index);
88 struct snd_seq_client_callback *callback);
89int snd_seq_delete_kernel_client(int client); 79int snd_seq_delete_kernel_client(int client);
90int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev, int atomic, int hop); 80int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev, int atomic, int hop);
91int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event *ev, int atomic, int hop); 81int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event *ev, int atomic, int hop);