libspatialaudio
libspatialaudio copied to clipboard
adm: fix invalid index with m_hoaEncoders when using Binaural
GetMatchingIndex() was used by the binaural renderer to get the m_hoaEncoders vector index, and by the renderer to get the object map key.
This led to invalid index or segfault when using the binaural renderer. when Objects were inserted before DirectSpeakers in StreamInformation.