1 #ifndef fooprotocolsimplehfoo
2 #define fooprotocolsimplehfoo
4 #include "socket-server.h"
6 struct pa_protocol_simple;
8 enum pa_protocol_simple_mode {
9 PA_PROTOCOL_SIMPLE_RECORD = 1,
10 PA_PROTOCOL_SIMPLE_PLAYBACK = 2,
11 PA_PROTOCOL_SIMPLE_DUPLEX = 3
14 struct pa_protocol_simple* pa_protocol_simple_new(struct pa_core *core, struct pa_socket_server *server, enum pa_protocol_simple_mode mode);
15 void pa_protocol_simple_free(struct pa_protocol_simple *n);