22 #include <linux/slab.h>
23 #include <linux/module.h>
82 static int my_client = -1;
97 memset(&ev, 0,
sizeof(ev));
99 ev.
source.port = p->connect;
104 for (i = 0; i < 16; i++) {
130 tmpev.
source.port = p->connect;
132 tmpev.source.port = p->port;
141 dummy_free(
void *private_data)
163 pinfo.addr.client = my_client;
176 memset(&pcb, 0,
sizeof(pcb));
178 pcb.unuse = dummy_unuse;
179 pcb.event_input = dummy_input;
180 pcb.private_free = dummy_free;
181 pcb.private_data = rec;
195 register_client(
void)
212 for (i = 0; i < ports; i++) {
213 rec1 = create_port(i, 0);
219 rec2 = create_port(i, 1);
246 static int __init alsa_seq_dummy_init(
void)
250 err = register_client();
255 static void __exit alsa_seq_dummy_exit(
void)