mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
audioconvert: refuse invalid channels and rate
This commit is contained in:
parent
6341469456
commit
73628c91de
4 changed files with 7 additions and 1 deletions
|
|
@ -187,6 +187,7 @@ static int test_split_setup(struct context *ctx)
|
|||
spa_zero(info);
|
||||
info.format = SPA_AUDIO_FORMAT_F32P;
|
||||
info.channels = 6;
|
||||
info.rate = 48000;
|
||||
info.position[0] = SPA_AUDIO_CHANNEL_FL;
|
||||
info.position[1] = SPA_AUDIO_CHANNEL_FR;
|
||||
info.position[2] = SPA_AUDIO_CHANNEL_FC;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue