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

Can't compile miniaudio for iOS #52

Closed
machine-mind opened this issue Mar 11, 2019 · 4 comments
Closed

Can't compile miniaudio for iOS #52

machine-mind opened this issue Mar 11, 2019 · 4 comments
Labels

Comments

@machine-mind
Copy link

I'm trying to compile miniaudio for iOS on revision 519ea2d. However I get a compilation error:

miniaudio.h:17352:106: Cannot initialize a parameter of type 'AudioComponent' (aka 'OpaqueAudioComponent ') with an lvalue of type 'ma_ptr' (aka 'void ')

Any ideas?

@mackron
Copy link
Owner

mackron commented Mar 11, 2019

It may need an explicit cast. I will take a look at this as soon as I get a chance. This is on Xcode, I assume?

@mackron
Copy link
Owner

mackron commented Mar 12, 2019

I've pushed a potential fix for this to the dev branch. Would you be able to try that out and let me know how it goes?

@mackron
Copy link
Owner

mackron commented Mar 17, 2019

I pushed that change to the master branch. Feel free to open a new issue if it's still not entirely fixed.

@mackron mackron closed this as completed Mar 17, 2019
@machine-mind
Copy link
Author

Compiling on iOS now works as expected. Thanks!

@mackron mackron added the bug label Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants