From 0575fc66e9b175fef129a250697f07d7053e9108 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 14 Jun 2004 20:34:33 +0000 Subject: [PATCH] remove oss.c git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@12 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/oss.c | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/oss.c diff --git a/src/oss.c b/src/oss.c deleted file mode 100644 index 42e6036..0000000 --- a/src/oss.c +++ /dev/null @@ -1,30 +0,0 @@ -#include "module.h" - -struct userdata { - struct sink *sink; - struct source *source; - int fd; -}; - -int module_init(struct core *c, struct module*m) { - struct userdata *u; - assert(c && m); - - u = malloc(sizeof(struct userdata)); - assert(u); - memset(u, 0, sizeof(struct userdata)); - m->userdata = u; - - return 0; -} - -void module_done(struct core *c, struct module*m) { - struct userdata *u; - assert(c && m); - - u = m->userdata; - - sink_free(u->sink); - source_free(u->source); - free(u); -} -- 2.7.4