Closed 7ombie closed 1 year ago
It's because miniaudio uses runtime linking which Apple doesn't like. It's failing to load the necessary shared objects which is then resulting in miniaudio falling back to the null backend. Use MA_NO_RUNTIME_LINKING
. More info in section 2.2 of the documentation: https://miniaud.io/docs/manual/index.html#Building
Thank you, @mackron. That was it.
Sorry for the attitude I took with this issue. I was just super frustrated before I even tried using miniaudio, and yeah. Anyway, sorry. All the best, and thanks again.
I copied the first example from the docs (Introduction - Low-Level API), and got the following error:
I tried to report that issue, and was instructed to run the
simple_playback_sine.c
example first. I tried that. It compiles, but doesn't play anything:This is after I gave up trying to use raylib's
AudioStream
, which also doesn't work, probably because it's based on miniaudio, and that's not working.I'm on an ARM Mac, which I assume has something to do with it.