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

« back to all changes in this revision

Viewing changes to src/pulse/def.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2007-12-04 00:56:08 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071204005608-y1xqvcu45g1yxtlu
Tags: 0.9.8-1ubuntu1
"Hail our new PulseAudio overlords (part two)."

* Merge from Debian unstable.
* Ubuntu-specific changes:
  - debian/control:
    + Don't build-depend on libjack0.100.0-dev or build jack module
      packages,
    + Update pulseaudio's Recommends and Suggests to accomodate
      existing promoted main packages,
    + Explicitly mention pasuspender in pulseaudio-utils's long
      description,
    + Add Vcs-Bzr URI,
    + Adhere to DebianMaintainerField;
  - debian/rules: Use multiuser for update-rc.d;
  - debian/patches/series: Retain the exclusion of
    0001-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with.patch.
* Dropped Ubuntu-specific change (absorbed into Debian source):
  debian/patches/0002-Double-esound-maximum-sample-size.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef foodefhfoo
2
2
#define foodefhfoo
3
3
 
4
 
/* $Id: def.h 1988 2007-10-29 21:23:08Z lennart $ */
 
4
/* $Id: def.h 2067 2007-11-21 01:30:40Z lennart $ */
5
5
 
6
6
/***
7
7
  This file is part of PulseAudio.
122
122
                                      * ahead can be corrected
123
123
                                      * quickly, without the need to
124
124
                                      * wait. */
125
 
    PA_STREAM_AUTO_TIMING_UPDATE = 8 /**< If set timing update requests
 
125
    PA_STREAM_AUTO_TIMING_UPDATE = 8, /**< If set timing update requests
126
126
                                       * are issued periodically
127
127
                                       * automatically. Combined with
128
128
                                       * PA_STREAM_INTERPOLATE_TIMING
132
132
                                       * pa_stream_get_latency() at
133
133
                                       * all times without a packet
134
134
                                       * round trip.*/
 
135
    PA_STREAM_NO_REMAP_CHANNELS = 16, /**< Don't remap channels by
 
136
                                       * their name, instead map them
 
137
                                       * simply by their
 
138
                                       * index. Implies
 
139
                                       * PA_STREAM_NO_REMIX_CHANNELS. Only
 
140
                                       * supported when the server is
 
141
                                       * at least PA 0.9.8. It is
 
142
                                       * ignored on older
 
143
                                       * servers.\since 0.9.8 */
 
144
    PA_STREAM_NO_REMIX_CHANNELS = 32, /**< When remapping channels by
 
145
                                       * name, don't upmix or downmix
 
146
                                       * them to related
 
147
                                       * channels. Copy them into
 
148
                                       * matching channels of the
 
149
                                       * device 1:1. Only supported
 
150
                                       * when the server is at least
 
151
                                       * PA 0.9.8. It is ignored on
 
152
                                       * older servers. \since
 
153
                                       * 0.9.8 */
 
154
    PA_STREAM_FIX_FORMAT = 64, /**< Use the sample format of the
 
155
                                * sink/device this stream is being
 
156
                                * connected to, and possibly ignore
 
157
                                * the format the sample spec contains
 
158
                                * -- but you still have to pass a
 
159
                                * valid value in it as a hint to
 
160
                                * PulseAudio what would suit your
 
161
                                * stream best. If this is used you
 
162
                                * should query the used sample format
 
163
                                * after creating the stream by using
 
164
                                * pa_stream_get_sample_spec(). Also,
 
165
                                * if you specified manual buffer
 
166
                                * metrics it is recommended to update
 
167
                                * them with
 
168
                                * pa_stream_set_buffer_attr() to
 
169
                                * compensate for the changed frame
 
170
                                * sizes. Only supported when the
 
171
                                * server is at least PA 0.9.8. It is
 
172
                                * ignored on older servers. \since
 
173
                                * 0.9.8 */
 
174
 
 
175
    PA_STREAM_FIX_RATE = 128, /**< Use the sample rate of the sink,
 
176
                               * and possibly ignore the rate the
 
177
                               * sample spec contains. Usage similar
 
178
                               * to PA_STREAM_FIX_FORMAT.Only
 
179
                               * supported when the server is at least
 
180
                               * PA 0.9.8. It is ignored on older
 
181
                               * servers. \since 0.9.8 */
 
182
 
 
183
    PA_STREAM_FIX_CHANNELS = 256, /**< Use the number of channels and
 
184
                               * the channel map of the sink, and
 
185
                               * possibly ignore the number of
 
186
                               * channels and the map the sample spec
 
187
                               * and the passed channel map
 
188
                               * contains. Usage similar to
 
189
                               * PA_STREAM_FIX_FORMAT. Only supported
 
190
                               * when the server is at least PA
 
191
                               * 0.9.8. It is ignored on older
 
192
                               * servers. \since 0.9.8 */
 
193
    PA_STREAM_DONT_MOVE = 512, /**< Don't allow moving of this stream to
 
194
                              * another sink/device. Useful if you use
 
195
                              * any of the PA_STREAM_FIX_ flags and
 
196
                              * want to make sure that resampling
 
197
                              * never takes place -- which might
 
198
                              * happen if the stream is moved to
 
199
                              * another sink/source whith a different
 
200
                              * sample spec/channel map. Only
 
201
                              * supported when the server is at least
 
202
                              * PA 0.9.8. It is ignored on older
 
203
                              * servers. \since 0.9.8 */
 
204
    PA_STREAM_VARIABLE_RATE = 1024, /**< Allow dynamic changing of the
 
205
                                     * sampling rate during playback
 
206
                                     * with
 
207
                                     * pa_stream_update_sample_rate(). Only
 
208
                                     * supported when the server is at
 
209
                                     * least PA 0.9.8. It is ignored
 
210
                                     * on older servers. \since
 
211
                                     * 0.9.8 */
135
212
} pa_stream_flags_t;
136
213
 
137
214
/** Playback and record buffer metrics */