Android Question Sound Pool badly compressing samples

redbeardrob

Member
Licensed User
Longtime User
I have a game project of fairly large scope and was trying to add more sound effects, and then they started to play back sounding horribly compressed on my device, but still playing at a decent quality in BlueStacks emulator on my PC. I am assuming that the sound pool is compressing the samples to fit some memory limitation on audio samples. I would like to know if there is any way to change this limit or to be aware that it has been reached in code, so that I can fall back to a smaller selection of sounds if need be. I checked the unfiltered logs via searching them in notepad+ but didn't see anything that I could think to search for. Thanks!
 

redbeardrob

Member
Licensed User
Longtime User
Thank you for the quick reply.

It turns out I had just fed the priority into the rate by accident when rewriting my sound handler and it was pitching up the samples causing bad distortion. :/

Thankfully this occurred to me before doing a major workaround. And now it's all good.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…