pulse-server: fix parsing and creation of iec958 formats

Implement creating IEC958 format EnumFormat params.

Fix parsing of negotiated IEC958 formats and convert to our internal
format.
This commit is contained in:
Wim Taymans 2021-08-20 13:47:23 +02:00
parent bceb9a4b6e
commit 1a713e963a
2 changed files with 108 additions and 39 deletions

View file

@ -1498,7 +1498,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui
if (stream->stream == NULL)
goto error_errno;
pw_log_debug(NAME" %p: new stream %p channel:%d", impl, stream, stream->channel);
pw_log_debug(NAME" %p: new stream %p channel:%d passthrough:%d",
impl, stream, stream->channel, passthrough);
pw_stream_add_listener(stream->stream,
&stream->stream_listener,