asio: Fix {input,output}-channels property handling

Fixing regression introduced by the commit 06dc931b52

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6370>
This commit is contained in:
Seungha Yang 2024-03-14 20:25:52 +09:00
parent 6c3d09e279
commit 7aff9c8600
2 changed files with 2 additions and 2 deletions

View file

@ -321,7 +321,7 @@ gst_asio_sink_create_ringbuffer (GstAudioBaseSink * sink)
for (i = 0; i < max_output_ch; i++)
channel_indices.push_back (i);
} else {
for (auto iter : channel_indices)
for (auto iter : channel_list)
channel_indices.push_back (iter);
}

View file

@ -334,7 +334,7 @@ gst_asio_src_create_ringbuffer (GstAudioBaseSrc * src)
for (i = 0; i < max_input_ch; i++)
channel_indices.push_back (i);
} else {
for (auto iter : channel_indices)
for (auto iter : channel_list)
channel_indices.push_back (iter);
}