mackron / miniaudio

Audio playback and capture library written in C, in a single source file.
https://miniaud.io
Other
4.07k stars 361 forks source link

Fixed compiling for iOS 11.x and earlier #373

Closed iarwain closed 3 years ago

mackron commented 3 years ago

Thanks for this. Do you think maybe it could be better to just not set the session category and continue successfully rather than returning an error? I'm undecided either way.

iarwain commented 3 years ago

I was considering this option as well, along a warning message maybe. I was undecided as well.

mackron commented 3 years ago

Let's go ahead and make it go through successfully and post a warning (MA_LOG_LEVEL_WARNING). I'll make that change when I get to merging this.