videolabs / libspatialaudio

Ambisonic encoding / decoding and binauralization library in C++
Other
198 stars 37 forks source link

EXC_BAD_ACCESS AmbisonicEncoder.cpp Line 50 #14

Open jfantell opened 5 years ago

jfantell commented 5 years ago
screen shot 2018-12-03 at 10 44 35 am

When I try to run the example code featured in the ReadMe, the program exits with exit code 11. After debugging for a bit I was able to determine the issue is coming from this line:

pfDst->m_ppfChannels[niChannel][niSample] = pfSrc[niSample] * m_pfCoeff[niChannel];

which is located in the AmbisonicEncoder.cpp file.

I have attached a screenshot showing the error.

Dev Environment:

macOS Mojave C++11

jbkempf commented 4 years ago

Please share a full stacktrace.