I meet some Error like follow :
[i:4qqc0gw3]I tried "FMOD_IPhone_RestoreAudioSession" like your advise yesterday.
but I met Link error. only one
"_FMOD_IPhone_RestoreAudioSession", referenced from:
-[TemplateAppDelegate applicationDidBecomeActive:] in CocoonTemplate_NBCAppDelegate.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
error is only 1.
How can I solve this problem.[/i:4qqc0gw3]
I used code on TemplateAppDelegate.m
> I change file name to "[b:4qqc0gw3]TemplateAppDelegate.mm[/b:4qqc0gw3]"
I guess FMOD SDK use Object C++ anymore.
- Dreamknight asked 7 years ago
Many our developers use ‘.m(Object-c)’ file for development.
So we had been using the FMOD API code without problems,
but Now suddenly this link error of "FMOD_IPhone_RestoreAudioSession" that we are not understood.
Only for this function. ‘mm (object-C + +)’ changing into the uncomfortable.
I just want you to modify to be developed on ".m(object-c)"
- Dreamknight answered 7 years ago
Use Fmod v4.32.3
but I still met link error on *.m file
for compile, I change file name to "Template_NBCAppDelegate.[b:3mq60vgt]mm[/b:3mq60vgt]"
"This Error will be fixed next release."
I hear this at V4.32.01.
- Dreamknight answered 6 years ago
Firstly I would recommend you only use FMOD_IPhone_RestoreAudioSession when returning to the foreground, not when becoming active, you don’t have to worry about losing hardware audio when becoming active any longer, that has been fixed another way.
Secondly the change to make the restore function a C symbol was only done in our current dev branch, we generally don’t touch the API of stable branches.
Please login first to submit.