2004-06-08 23:54:24 +00:00
|
|
|
#ifndef fooprotocolsimplehfoo
|
|
|
|
|
#define fooprotocolsimplehfoo
|
|
|
|
|
|
|
|
|
|
#include "socket-server.h"
|
|
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
struct pa_protocol_simple;
|
2004-06-08 23:54:24 +00:00
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
enum pa_protocol_simple_mode {
|
|
|
|
|
PA_PROTOCOL_SIMPLE_RECORD = 1,
|
|
|
|
|
PA_PROTOCOL_SIMPLE_PLAYBACK = 2,
|
|
|
|
|
PA_PROTOCOL_SIMPLE_DUPLEX = 3
|
2004-06-08 23:54:24 +00:00
|
|
|
};
|
|
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
struct pa_protocol_simple* pa_protocol_simple_new(struct pa_core *core, struct pa_socket_server *server, enum pa_protocol_simple_mode mode);
|
|
|
|
|
void pa_protocol_simple_free(struct pa_protocol_simple *n);
|
2004-06-08 23:54:24 +00:00
|
|
|
|
|
|
|
|
#endif
|