swresample/swresample: add a used channel layout option using the new API

Replaces the "used channel count" option, which is now deprecated.

Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 223c70cf1d)
This commit is contained in:
James Almer 2023-02-17 15:41:56 -03:00
parent 6112745d8e
commit a34b348328
6 changed files with 46 additions and 29 deletions

View file

@ -11,8 +11,8 @@ programmatic use.
@table @option
@item uch, used_channel_count
Set the number of used input channels. Default value is 0. This option is
@item uchl, used_chlayout
Set used input channel layout. Default is unset. This option is
only used for special remapping.
@item isr, in_sample_rate