Lines Matching defs:volume
31 #include <pulse/volume.h>
146 * modify the volume of the audio. Identically to how sinks and sources can
163 * If an application desires to modify the volume of just a single stream
164 * (commonly one of its own streams), this can be done by setting the volume
174 * It is strongly recommended that all volume changes are done as a direct
177 * volume at an inappropriate moment and restore it later. Besides, such
181 * application leaves the task of saving and restoring the volume of its
184 * plugging that would make the volume stored by the application inapplicable
187 * Another important case where setting a sink input volume may be a bad idea
190 * as repeatedly setting the volume to 100%). Thus, script interpreters that
191 * represent a security boundary must sandbox volume-changing requests coming
193 * script-requested volume to the script-produced sounds by altering the
195 * volume as seen by PulseAudio.
197 * If an application changes any volume, it should also listen to changes of
198 * the same volume originating from outside the application (e.g., from the
274 pa_cvolume volume; /**< Volume of the sink */
283 pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the output device. \since 0.9.15 */
285 uint32_t n_volume_steps; /**< Number of volume steps for sinks which do not support arbitrary volumes. \since 0.9.15 */
306 /** Set the volume of a sink device specified by its index */
307 pa_operation* pa_context_set_sink_volume_by_index(pa_context *c, uint32_t idx, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata);
309 /** Set the volume of a sink device specified by its name */
310 pa_operation* pa_context_set_sink_volume_by_name(pa_context *c, const char *name, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata);
379 pa_cvolume volume; /**< Volume of the source */
388 pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the input device. \since 0.9.15 */
390 uint32_t n_volume_steps; /**< Number of volume steps for sources which do not support arbitrary volumes. \since 0.9.15 */
411 /** Set the volume of a source device specified by its index */
412 pa_operation* pa_context_set_source_volume_by_index(pa_context *c, uint32_t idx, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata);
414 /** Set the volume of a source device specified by its name */
415 pa_operation* pa_context_set_source_volume_by_name(pa_context *c, const char *name, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata);
654 pa_cvolume volume; /**< The volume of this sink input. */
662 int has_volume; /**< Stream has volume. If not set, then the meaning of this struct's volume member is unspecified. \since 1.0 */
663 int volume_writable; /**< The volume can be set. If not set, the volume can still change even though clients can't control the volume. \since 1.0 */
682 /** Set the volume of a sink input stream */
683 pa_operation* pa_context_set_sink_input_volume(pa_context *c, uint32_t idx, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata);
712 pa_cvolume volume; /**< The volume of this source output \since 1.0 */
714 int has_volume; /**< Stream has volume. If not set, then the meaning of this struct's volume member is unspecified. \since 1.0 */
715 int volume_writable; /**< The volume can be set. If not set, the volume can still change even though clients can't control the volume. \since 1.0 */
734 /** Set the volume of a source output stream \since 1.0 */
735 pa_operation* pa_context_set_source_output_volume(pa_context *c, uint32_t idx, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata);
774 pa_cvolume volume; /**< Default volume of this entry */