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

Fixing regression introduced by the commit 06dc931b52

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6372>
This commit is contained in:
Seungha Yang 2024-03-14 20:25:52 +09:00 committed by Tim-Philipp Müller
parent 0fe3ffe0c0
commit 615b7ca7ca
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++) for (i = 0; i < max_output_ch; i++)
channel_indices.push_back (i); channel_indices.push_back (i);
} else { } else {
for (auto iter : channel_indices) for (auto iter : channel_list)
channel_indices.push_back (iter); 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++) for (i = 0; i < max_input_ch; i++)
channel_indices.push_back (i); channel_indices.push_back (i);
} else { } else {
for (auto iter : channel_indices) for (auto iter : channel_list)
channel_indices.push_back (iter); channel_indices.push_back (iter);
} }