Hi Informatix,
I hope you had a nice Xmas!!
I'm working on a side-project, a small Pong clone, nothing complicated. I'm noticing a slight drop in the sprite animation (movement) performance every time I play a sound (filesize < 25kb).
Here's what I've tried so far:
- Using the Audio library's SoundPool (both mp3 and ogg) on the main thread.
- Using the Audio library's SoundPool (both mp3 and ogg) on the LibGDX thread.
- Using the LibGDX sound functions (both mp3 and ogg) on the main thread.
- Using the LibGDX sound functions (both mp3 and ogg) on the LibGDX thread.
The performance drop (kinda like the "screen tearing effect") is noticeable for all these methods. The only way for it not to happen is disabling all the sounds.
What could be happening?
Device: Asus ME173X (Tablet)
Android: 4.2.2
I hope you had a nice Xmas!!
I'm working on a side-project, a small Pong clone, nothing complicated. I'm noticing a slight drop in the sprite animation (movement) performance every time I play a sound (filesize < 25kb).
Here's what I've tried so far:
- Using the Audio library's SoundPool (both mp3 and ogg) on the main thread.
- Using the Audio library's SoundPool (both mp3 and ogg) on the LibGDX thread.
- Using the LibGDX sound functions (both mp3 and ogg) on the main thread.
- Using the LibGDX sound functions (both mp3 and ogg) on the LibGDX thread.
The performance drop (kinda like the "screen tearing effect") is noticeable for all these methods. The only way for it not to happen is disabling all the sounds.
What could be happening?
Device: Asus ME173X (Tablet)
Android: 4.2.2