mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
export-source: allow more formats and channels
This commit is contained in:
parent
f24ee7fd02
commit
79129f81a7
1 changed files with 2 additions and 2 deletions
|
|
@ -210,8 +210,8 @@ static int port_enum_formats(struct spa_node *node,
|
|||
"I", d->type.media_type.audio,
|
||||
"I", d->type.media_subtype.raw,
|
||||
":", d->type.format_audio.format, "I", d->type.audio_format.S16,
|
||||
":", d->type.format_audio.channels, "i", 2,
|
||||
":", d->type.format_audio.rate, "i", 44100);
|
||||
":", d->type.format_audio.channels, "iru", 2, 2, 1, INT32_MAX,
|
||||
":", d->type.format_audio.rate, "iru", 44100, 2, 1, INT32_MAX);
|
||||
|
||||
(*index)++;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue