mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
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:
parent
6c3d09e279
commit
7aff9c8600
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue