libspatialaudio icon indicating copy to clipboard operation
libspatialaudio copied to clipboard

adm: fix invalid index with m_hoaEncoders when using Binaural

Open tguillem opened this issue 4 years ago • 0 comments

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.

tguillem avatar May 28 '21 12:05 tguillem