mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
introspect: Get format of source output
This gets the negotiated format of source outputs in pa_context_get_source_output*(). Also prints the format and volume in 'pactl list'.
This commit is contained in:
parent
dffc4d18d3
commit
4ab60d0377
5 changed files with 20 additions and 3 deletions
|
|
@ -561,6 +561,7 @@ typedef struct pa_source_output_info {
|
|||
int mute; /**< Stream muted \since 1.0 */
|
||||
int has_volume; /**< Stream has volume. If not set, then the meaning of this struct's volume member is unspecified. \since 1.0 */
|
||||
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 */
|
||||
pa_format_info *format; /**< Stream format information. \since 1.0 */
|
||||
} pa_source_output_info;
|
||||
|
||||
/** Callback prototype for pa_context_get_source_output_info() and friends*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue