0
Я пытаюсь установить позицию слушателя, как описано в docsнет функции соответствия для вызова Fmod :: Студия :: System :: setListenerAttributes()
FMOD::Studio::System* system;
ERRCHECK(FMOD::Studio::System::create(&system));
FMOD::System* lowLevelSystem;
ERRCHECK(system->getLowLevelSystem(&lowLevelSystem));
FMOD_3D_ATTRIBUTES attributes = { { 0 } };
attributes.forward.z = 1.0f;
attributes.up.y = 1.0f;
ERRCHECK(system->setListenerAttributes(&attributes));
attributes.position.z = 0.0f;
ERRCHECK(instance->set3DAttributes(&attributes));
Но он говорит:
test.cpp: In function ‘int main(int, char**)’:
test.cpp:244:56: error: no matching function for call to ‘FMOD::Studio::System::setListenerAttributes(FMOD_3D_ATTRIBUTES*)’
ERRCHECK(system->setListenerAttributes(&attributes));
^
Почему?