Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ofAVEngineSoundPlayer - 'AVAudioSessionInterruptionTypeKey' is unavailable: not available on macOS #7861

Open
dimitre opened this issue Jan 12, 2024 · 1 comment
Assignees

Comments

@dimitre
Copy link
Member

dimitre commented Jan 12, 2024

I'm building an app without fmod on macOS by using

OF_NO_FMOD=1
USER_PREPROCESSOR_DEFINITIONS="OF_NO_FMOD=1"

on App.xcconfig, so it is automatically kicking in with ofAVEngineSoundPlayer
but it is bringing this error:
'AVAudioSessionInterruptionTypeKey' is unavailable: not available on macOS

@ofTheo
Copy link
Member

ofTheo commented Jan 12, 2024

@dimitre - I'll let @danoli3 chime in but I am guessing that is an iOS only thing.

I am guessing those code sections need to be included in the #ifndef TARGET_OSX

We should prob start switching tests to use OF_NO_FMOD so we can catch these things

@danoli3 danoli3 self-assigned this Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants