Closed LouisDuVerdier closed 2 years ago
Thanks for the report. If it's OK, are you able to send me those files? You can send them to me privately via email or whatever suits you.
I'll investigate this one ASAP. Most likely it's mixing in some garbage by accident in the node graph.
With the low level stuff you certainly don't want to be using two devices. You would use one device and mix your two sounds.
Hi,
I just sent those files via email. Please don't hesitate if you need anything! Regarding low level, ok, that makes sense, I wasn't sure, thanks for the info! :)
Thank you very much! Louis
I think this should be fixed now. The fix is in the dev branch. Are you able to give that a try on your end?
Looks good for both Windows and Android, that was fast, thank you very much!
Great. Thanks for testing that and the sample files. This will be released soon.
This has been released.
Hi,
First, thanks for your work, seem to be working very nicely, with a lot of feature and it looks waaay faster than certain libs I used before discovering your work!
I just found an issue under Windows (and Android, based on my tests) when there is a kind of very short saturated noise (the kind you would get when putting your finger on the jack of audio speakers) when two sounds are playing, one finishes and the other keeps going.
Code is more or less the basic High level API example, but with two sounds (e.g. for Windows):
In case it's useful, media info of longer_sound: 1s 416 ms, 1 411,2 kb/s, 44,1 kHz, 16 bits, 2 channels. short_sound is exactly the same, but it lasts 621 ms. I can send those to you if it is useful for you to attempt to reproduce.
Using low level API doesn't give any noise (with two decoders and two devices - though I'm not sure if I'm supposed to use that this way, I'm still new with your work and still have to read more the documentation, code and examples). It might be because low level doesn't use node graph to mix sounds, unless I misread something.
There is no noise when using two ma_engines, but it looks like in general we probably should have only one for simple use cases.
MA_DEBUG_OUTPUT:
Tested with dev and 0.11.5, headphones and speakers, same result.
Would you per chance have an idea?
Please do not hesitate if you need anything!
Thank you, Louis