Improve Atrac id generating and fix crash.
Unlock the other 16 regs that are available for NEON.
Merge pull request #2167 from oioitff/atrac-fix

Improve Atrac id generating and fix crash.
Revert extra regs allocation. Causes some crashes with ffmpeg.
Add a safety check for non-rtti.
Merge pull request #2170 from oioitff/mpeg-fix

Improve some functions for scePsmfPlayer.
Merge pull request #2169 from unknownbrackets/rtti

Add a safety check for non-rtti
Don't delay psmf video when the audio has ended.

Lunar shows logos without any audio, which means the audio pts is always
0.  That meant it delayed more each frame...
Merge pull request #2171 from unknownbrackets/psmfplayer

Don't delay psmf video when the audio has ended
Merge pull request #2177 from oioitff/mpeg-fix

Improve mpeg timestamp.
Shortcut IdentifyFile (which is now used by GameInfoCache) by trusting the file extensions.
Add 36x36 icon for android. Fixes #2168
Return correct errors on terminating thread.

Fixes Final Fantasy 4 hangs when playing videos a second time.
Correct envelope scaling in sas mixing.

Sound effects seem a bit loud, but this matches what JPCSP does and I've
added comments based on my understanding of it.  It makes sense.

This makes all the sounds that never get muted when the envelope hits 0 go
away.  Hurray.

Thanks to help from @i1x.
Validate parameters in sceSasInit().
Don't restart release on double keyoff.

Fixes Kingdom Hearts bug, #2066.
Delay in sceSasCore per tests.

Not sure if this fixes anything, but scheduling issues can be tricky.
Revert #1974, the other fixes are better.

This is no longer needed for games I have, and it breaks Final Fantasy
Tactics' sound effects.

Looking at JPCSP for insight, I saw that it re-enables loops if you set a
voice even with a different address (I think?) but that seems strange.
Merge pull request #2184 from unknownbrackets/thread-funcs

Return correct errors on terminating thread
Merge pull request #2185 from unknownbrackets/sas-minor

Correct envelope scaling in sas mixing