summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-12-12 09:30:43 +0100
committerJaroslav Kysela <perex@suse.cz>2006-01-03 12:30:47 +0100
commit83e8ad6984dccd6d848ac91ba0df379ff968180b (patch)
tree5ae1f379de542b8ede18ab1cc65537b01b21d212 /include/sound
parent255bd169ab645970f77d3fd7ac800781f96ddccb (diff)
[ALSA] seq: remove struct snd_seq_client_callback
The fields of struct snd_seq_client_callback either aren't used or are always set to the same value, so we can get rid of it altogether. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'include/sound')
-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 1b60890b44c..77cf57e2148 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;
/* max size of event size */
#define SNDRV_SEQ_MAX_EVENT_LEN 0x3fffffff
-/* call-backs for kernel client */
-
-struct snd_seq_client_callback {
- void *private_data;
- unsigned allow_input: 1,
- allow_output: 1;
- /*...*/
-};
-
/* call-backs for kernel port */
struct snd_seq_port_callback {
struct module *owner;
@@ -84,8 +75,7 @@ struct snd_seq_port_callback {
};
/* interface for kernel client */
-int snd_seq_create_kernel_client(struct snd_card *card, int client_index,
- struct snd_seq_client_callback *callback);
+int snd_seq_create_kernel_client(struct snd_card *card, int client_index);
int snd_seq_delete_kernel_client(int client);
int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev, int atomic, int hop);
int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event *ev, int atomic, int hop);