mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +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/6372>
This commit is contained in:
parent
0fe3ffe0c0
commit
615b7ca7ca
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++)
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue