Skip to content
Snippets Groups Projects
Commit 08bbd646 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Merge branch 'master' into feature/visionsync

parents f1a8f782 ea25a72a
No related branches found
No related tags found
1 merge request!285Vision nodes sync to each other
Pipeline #22608 passed
......@@ -60,7 +60,7 @@ void Sender::post(const ftl::audio::FrameSet &fs) {
//fs.stale = true;
for (size_t i=0; i<fs.frames.size(); ++i) {
if (!fs.frames[i].hasChannel(Channel::Audio)) continue;
if (!(fs.frames[i].hasChannel(Channel::AudioMono) || fs.frames[i].hasChannel(Channel::AudioStereo))) continue;
auto &data = (fs.frames[i].hasChannel(Channel::AudioStereo)) ?
fs.frames[i].get<ftl::audio::Audio>(Channel::AudioStereo) :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment