~ubuntu-branches/ubuntu/oneiric/pulseaudio/oneiric

« back to all changes in this revision

Viewing changes to src/pulsecore/native-common.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2007-12-04 00:56:08 UTC
  • mto: (1.15.1 sid)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20071204005608-3lzrrrpxi186kgx4
Tags: upstream-0.9.8
ImportĀ upstreamĀ versionĀ 0.9.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef foonativecommonhfoo
2
2
#define foonativecommonhfoo
3
3
 
4
 
/* $Id: native-common.h 1971 2007-10-28 19:13:50Z lennart $ */
 
4
/* $Id: native-common.h 2064 2007-11-21 01:20:16Z lennart $ */
5
5
 
6
6
/***
7
7
  This file is part of PulseAudio.
36
36
    PA_COMMAND_TIMEOUT, /* pseudo command */
37
37
    PA_COMMAND_REPLY,
38
38
 
39
 
    /* Commands from client to server */
40
 
    PA_COMMAND_CREATE_PLAYBACK_STREAM,
 
39
    /* CLIENT->SERVER */
 
40
    PA_COMMAND_CREATE_PLAYBACK_STREAM,        /* Payload changed in v9, v12 (0.9.0, 0.9.8) */
41
41
    PA_COMMAND_DELETE_PLAYBACK_STREAM,
42
 
    PA_COMMAND_CREATE_RECORD_STREAM,
 
42
    PA_COMMAND_CREATE_RECORD_STREAM,          /* Payload changed in v9, v12 (0.9.0, 0.9.8) */
43
43
    PA_COMMAND_DELETE_RECORD_STREAM,
44
44
    PA_COMMAND_EXIT,
45
45
    PA_COMMAND_AUTH,
64
64
    PA_COMMAND_GET_MODULE_INFO_LIST,
65
65
    PA_COMMAND_GET_CLIENT_INFO,
66
66
    PA_COMMAND_GET_CLIENT_INFO_LIST,
67
 
    PA_COMMAND_GET_SINK_INPUT_INFO,
68
 
    PA_COMMAND_GET_SINK_INPUT_INFO_LIST,
 
67
    PA_COMMAND_GET_SINK_INPUT_INFO,          /* Payload changed in v11 (0.9.7) */
 
68
    PA_COMMAND_GET_SINK_INPUT_INFO_LIST,     /* Payload changed in v11 (0.9.7) */
69
69
    PA_COMMAND_GET_SOURCE_OUTPUT_INFO,
70
70
    PA_COMMAND_GET_SOURCE_OUTPUT_INFO_LIST,
71
71
    PA_COMMAND_GET_SAMPLE_INFO,
92
92
    PA_COMMAND_KILL_CLIENT,
93
93
    PA_COMMAND_KILL_SINK_INPUT,
94
94
    PA_COMMAND_KILL_SOURCE_OUTPUT,
 
95
 
95
96
    PA_COMMAND_LOAD_MODULE,
96
97
    PA_COMMAND_UNLOAD_MODULE,
 
98
 
97
99
    PA_COMMAND_ADD_AUTOLOAD,
98
100
    PA_COMMAND_REMOVE_AUTOLOAD,
99
101
    PA_COMMAND_GET_AUTOLOAD_INFO,
100
102
    PA_COMMAND_GET_AUTOLOAD_INFO_LIST,
 
103
 
101
104
    PA_COMMAND_GET_RECORD_LATENCY,
102
105
    PA_COMMAND_CORK_RECORD_STREAM,
103
106
    PA_COMMAND_FLUSH_RECORD_STREAM,
104
107
    PA_COMMAND_PREBUF_PLAYBACK_STREAM,
105
108
 
106
 
    /* Commands from server to client */
 
109
    /* SERVER->CLIENT */
107
110
    PA_COMMAND_REQUEST,
108
111
    PA_COMMAND_OVERFLOW,
109
112
    PA_COMMAND_UNDERFLOW,
112
115
    PA_COMMAND_SUBSCRIBE_EVENT,
113
116
 
114
117
    /* A few more client->server commands */
 
118
 
 
119
    /* Supported since protocol v10 (0.9.5) */
115
120
    PA_COMMAND_MOVE_SINK_INPUT,
116
121
    PA_COMMAND_MOVE_SOURCE_OUTPUT,
117
122
 
 
123
    /* Supported since protocol v11 (0.9.7) */
118
124
    PA_COMMAND_SET_SINK_INPUT_MUTE,
119
125
 
120
126
    PA_COMMAND_SUSPEND_SINK,
121
127
    PA_COMMAND_SUSPEND_SOURCE,
122
128
 
 
129
    /* Supported since protocol v13 (0.9.8) */
 
130
    PA_COMMAND_SET_PLAYBACK_STREAM_BUFFER_ATTR,
 
131
    PA_COMMAND_SET_RECORD_STREAM_BUFFER_ATTR,
 
132
 
 
133
    PA_COMMAND_UPDATE_PLAYBACK_STREAM_SAMPLE_RATE,
 
134
    PA_COMMAND_UPDATE_RECORD_STREAM_SAMPLE_RATE,
 
135
 
 
136
    /* SERVER->CLIENT */
 
137
    PA_COMMAND_PLAYBACK_STREAM_SUSPENDED,
 
138
    PA_COMMAND_RECORD_STREAM_SUSPENDED,
 
139
    PA_COMMAND_PLAYBACK_STREAM_MOVED,
 
140
    PA_COMMAND_RECORD_STREAM_MOVED,
 
141
 
123
142
    PA_COMMAND_MAX
124
143
};
125
144