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:
Colin Guthrie 2011-05-16 22:15:57 +01:00
parent 5d35375aa7
commit fdf3a08814
5 changed files with 82 additions and 18 deletions

View file

@ -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