15ae36a6c9190c9da38bd54549cd596214b071d6
[profile/ivi/pulseaudio.git] / src / protocol-simple.h
1 #ifndef fooprotocolsimplehfoo
2 #define fooprotocolsimplehfoo
3
4 #include "socket-server.h"
5
6 struct pa_protocol_simple;
7
8 enum pa_protocol_simple_mode {
9     PA_PROTOCOL_SIMPLE_RECORD = 1,
10     PA_PROTOCOL_SIMPLE_PLAYBACK = 2,
11     PA_PROTOCOL_SIMPLE_DUPLEX = 3
12 };
13
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);
16
17 #endif