2004-07-16 18:58:23 +00:00
|
|
|
#ifndef foonativecommonhfoo
|
|
|
|
|
#define foonativecommonhfoo
|
2004-06-23 23:17:30 +00:00
|
|
|
|
2004-07-16 19:56:36 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
|
|
/***
|
|
|
|
|
This file is part of polypaudio.
|
|
|
|
|
|
|
|
|
|
polypaudio is free software; you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published
|
|
|
|
|
by the Free Software Foundation; either version 2 of the License,
|
|
|
|
|
or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
polypaudio is distributed in the hope that it will be useful, but
|
|
|
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with polypaudio; if not, write to the Free Software
|
|
|
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
|
|
USA.
|
|
|
|
|
***/
|
|
|
|
|
|
2004-08-15 00:02:26 +00:00
|
|
|
#include "cdecl.h"
|
2004-08-17 17:17:22 +00:00
|
|
|
#include "polyplib-def.h"
|
2004-08-15 00:02:26 +00:00
|
|
|
|
|
|
|
|
PA_C_DECL_BEGIN
|
|
|
|
|
|
2004-06-23 23:17:30 +00:00
|
|
|
enum {
|
|
|
|
|
PA_COMMAND_ERROR,
|
|
|
|
|
PA_COMMAND_TIMEOUT, /* pseudo command */
|
|
|
|
|
PA_COMMAND_REPLY,
|
|
|
|
|
PA_COMMAND_CREATE_PLAYBACK_STREAM,
|
|
|
|
|
PA_COMMAND_DELETE_PLAYBACK_STREAM,
|
|
|
|
|
PA_COMMAND_CREATE_RECORD_STREAM,
|
|
|
|
|
PA_COMMAND_DELETE_RECORD_STREAM,
|
|
|
|
|
PA_COMMAND_EXIT,
|
|
|
|
|
PA_COMMAND_REQUEST,
|
2004-07-06 00:08:44 +00:00
|
|
|
PA_COMMAND_AUTH,
|
|
|
|
|
PA_COMMAND_SET_NAME,
|
2004-07-07 00:22:46 +00:00
|
|
|
PA_COMMAND_LOOKUP_SINK,
|
|
|
|
|
PA_COMMAND_LOOKUP_SOURCE,
|
2004-07-07 22:02:15 +00:00
|
|
|
PA_COMMAND_DRAIN_PLAYBACK_STREAM,
|
2004-07-10 19:04:21 +00:00
|
|
|
PA_COMMAND_PLAYBACK_STREAM_KILLED,
|
|
|
|
|
PA_COMMAND_RECORD_STREAM_KILLED,
|
2004-07-15 20:51:55 +00:00
|
|
|
PA_COMMAND_STAT,
|
2004-07-15 21:18:18 +00:00
|
|
|
PA_COMMAND_GET_PLAYBACK_LATENCY,
|
2004-08-03 19:26:56 +00:00
|
|
|
PA_COMMAND_CREATE_UPLOAD_STREAM,
|
|
|
|
|
PA_COMMAND_DELETE_UPLOAD_STREAM,
|
|
|
|
|
PA_COMMAND_FINISH_UPLOAD_STREAM,
|
|
|
|
|
PA_COMMAND_PLAY_SAMPLE,
|
|
|
|
|
PA_COMMAND_REMOVE_SAMPLE,
|
2004-08-10 13:00:12 +00:00
|
|
|
PA_COMMAND_GET_SERVER_INFO,
|
2004-08-05 19:53:57 +00:00
|
|
|
PA_COMMAND_GET_SINK_INFO,
|
|
|
|
|
PA_COMMAND_GET_SINK_INFO_LIST,
|
|
|
|
|
PA_COMMAND_GET_SOURCE_INFO,
|
|
|
|
|
PA_COMMAND_GET_SOURCE_INFO_LIST,
|
|
|
|
|
PA_COMMAND_GET_MODULE_INFO,
|
2004-08-12 23:25:28 +00:00
|
|
|
PA_COMMAND_GET_MODULE_INFO_LIST,
|
2004-08-05 19:53:57 +00:00
|
|
|
PA_COMMAND_GET_CLIENT_INFO,
|
2004-08-12 23:25:28 +00:00
|
|
|
PA_COMMAND_GET_CLIENT_INFO_LIST,
|
2004-08-05 19:53:57 +00:00
|
|
|
PA_COMMAND_GET_SINK_INPUT_INFO,
|
2004-08-16 19:55:02 +00:00
|
|
|
PA_COMMAND_GET_SINK_INPUT_INFO_LIST,
|
2004-08-05 19:53:57 +00:00
|
|
|
PA_COMMAND_GET_SOURCE_OUTPUT_INFO,
|
2004-08-16 19:55:02 +00:00
|
|
|
PA_COMMAND_GET_SOURCE_OUTPUT_INFO_LIST,
|
2004-08-05 19:53:57 +00:00
|
|
|
PA_COMMAND_GET_SAMPLE_INFO,
|
2004-08-16 19:55:02 +00:00
|
|
|
PA_COMMAND_GET_SAMPLE_INFO_LIST,
|
2004-08-03 19:26:56 +00:00
|
|
|
PA_COMMAND_SUBSCRIBE,
|
|
|
|
|
PA_COMMAND_SUBSCRIBE_EVENT,
|
2004-08-14 20:25:32 +00:00
|
|
|
PA_COMMAND_SET_SINK_VOLUME,
|
|
|
|
|
PA_COMMAND_SET_SINK_INPUT_VOLUME,
|
2004-08-22 21:13:58 +00:00
|
|
|
PA_COMMAND_CORK_PLAYBACK_STREAM,
|
|
|
|
|
PA_COMMAND_FLUSH_PLAYBACK_STREAM,
|
2004-08-27 01:29:49 +00:00
|
|
|
PA_COMMAND_TRIGGER_PLAYBACK_STREAM,
|
2004-09-06 21:55:09 +00:00
|
|
|
PA_COMMAND_SET_DEFAULT_SINK,
|
|
|
|
|
PA_COMMAND_SET_DEFAULT_SOURCE,
|
2004-06-23 23:17:30 +00:00
|
|
|
PA_COMMAND_MAX
|
|
|
|
|
};
|
|
|
|
|
|
2004-07-06 00:08:44 +00:00
|
|
|
#define PA_NATIVE_COOKIE_LENGTH 256
|
|
|
|
|
#define PA_NATIVE_COOKIE_FILE ".polypaudio-cookie"
|
|
|
|
|
|
2004-08-15 00:02:26 +00:00
|
|
|
PA_C_DECL_END
|
|
|
|
|
|
2004-06-23 23:17:30 +00:00
|
|
|
#endif
|