Skip to content
Snippets Groups Projects
Commit 8df17537 authored by Aaron Cuevas Lopez's avatar Aaron Cuevas Lopez
Browse files

Fix crash when selecting channels for audio while acquiring

(Audio playing is still not working properly, but at least it won't cause
crashes)
parent ced77927
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ void AudioNode::updateBufferSize()
void AudioNode::setChannel(const DataChannel* ch)
{
int channelNum = dataChannelArray.indexOf(ch);
int channelNum = getDataChannelIndex(ch->getSourceIndex(), ch->getSourceNodeID(), ch->getSubProcessorIdx());
std::cout << "Audio node setting channel to " << channelNum << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment