diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-07-11 22:20:08 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-07-11 22:20:08 +0000 |
commit | 216591d95e00a0cb771088dad9a752efead55e10 (patch) | |
tree | 5758e5a203f2db6cda624efbbd644feefa048704 /src/protocol-simple.h | |
parent | a96ed347a30fdc7494b96542c0ad8a19ef178b25 (diff) |
make the protocol plugins make use of modargs
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@62 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/protocol-simple.h')
-rw-r--r-- | src/protocol-simple.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/protocol-simple.h b/src/protocol-simple.h index 6b2a2cd1..62682915 100644 --- a/src/protocol-simple.h +++ b/src/protocol-simple.h @@ -4,16 +4,11 @@ #include "socket-server.h" #include "module.h" #include "core.h" +#include "modargs.h" struct pa_protocol_simple; -enum pa_protocol_simple_mode { - PA_PROTOCOL_SIMPLE_RECORD = 1, - PA_PROTOCOL_SIMPLE_PLAYBACK = 2, - PA_PROTOCOL_SIMPLE_DUPLEX = 3 -}; - -struct pa_protocol_simple* pa_protocol_simple_new(struct pa_core *core, struct pa_socket_server *server, struct pa_module *m, enum pa_protocol_simple_mode mode); +struct pa_protocol_simple* pa_protocol_simple_new(struct pa_core *core, struct pa_socket_server *server, struct pa_module *m, struct pa_modargs *ma); void pa_protocol_simple_free(struct pa_protocol_simple *n); #endif |