mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
introspect: Get formats for sources
This gets the list of supported formats for a source in pa_context_get_source_info*(). Also prints these in 'pactl list'.
This commit is contained in:
parent
5d35375aa7
commit
fdf3a08814
5 changed files with 82 additions and 18 deletions
8
PROTOCOL
8
PROTOCOL
|
|
@ -254,3 +254,11 @@ New fields PA_COMMAND_CREATE_RECORD_STREAM:
|
|||
One new field in reply from PA_COMMAND_CREATE_RECORD_STREAM:
|
||||
|
||||
format_info format
|
||||
|
||||
New fields in reply from PA_COMMAND_GET_SOURCE_INFO (and thus
|
||||
PA_COMMAND_GET_SOURCE_INFO_LIST)
|
||||
|
||||
uint8_t n_formats
|
||||
format_info format1
|
||||
...
|
||||
format_info formatn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue