diff options
author | Wim Taymans <wtaymans@redhat.com> | 2018-01-11 10:15:51 +0100 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2018-01-11 10:15:51 +0100 |
commit | 79129f81a7b5a0e27502bf078bb9ccfda7fa8c01 (patch) | |
tree | 68bfc2946f407bcce11123f731c5200c9c838630 /src/examples/export-source.c | |
parent | f24ee7fd027acc5a0a6e143e605916992fb0eb99 (diff) |
export-source: allow more formats and channels
Diffstat (limited to 'src/examples/export-source.c')
-rw-r--r-- | src/examples/export-source.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/export-source.c b/src/examples/export-source.c index f973942b..7fc2d1d8 100644 --- a/src/examples/export-source.c +++ b/src/examples/export-source.c @@ -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)++; |