David Reid

Results 303 comments of David Reid

Thanks. A proper test for atomicity is a valuable contribution, and something badly lacking for this library. However, I cannot merge this change in its current state. For starters all...

Thanks for the report. If you haven't already, try the dev branch. I don't *think* it'll help, but maybe worth a shot. But otherwise, I'm going to sit on this...

I think this might be due to your teardown being in the wrong order. Try reordering it like this: ```c ma_engine_uninit(&engine); ma_resource_manager_uninit(&resourceManager); ma_device_uninit(&device); ma_context_uninit(&context); ``` The engine depends on the...

Can you post your `ma_engine_init()` code, including the config setup?

I noticed you have this segment: ``` if (_initialized) { ma_resource_manager_uninit(&resourceManager); ma_context_uninit(&context); ma_device_uninit(&device); ma_engine_uninit(&engine); } ``` Which is still in the incorrect order. Is that code getting hit when this...

> Is it because the WebSocket data is too slow, and there isn't enough data in the queue (m_down_audio_queue), causing ma_dr_mp3_decode_next_frame_ex__callbacks to think there's no data and then set atEnd...

1) No, this is entirely controlled by the decoding backend. 2) No. 3) You can block as long as you need in `on_ma_decoder_read_proc()`, but just keep in mind that if...

Thanks. Let me sit on this and consider it. I'm not immediately against it or anything. A question. This comes from my own ignorance - with the `JNI_OnLoad()` implementation, does...

Thanks. First I've heard this, and not totally sure how to address it. As a test to narrow it down, is it possible to disable the AAudio backend in order...

I'd be happy to get this compiling, but I need advice and/or some PRs from the community to make it work, and only if it does not cause issues for...