AmigaPorts / ACE

Amiga C Engine
Mozilla Public License 2.0
154 stars 25 forks source link

Ptplayer update #190

Closed tehKaiN closed 1 year ago

tehKaiN commented 1 year ago

I haven't synced vblank/audio interrupt code with original player, since it's very niche usage and adds another month to the development. I'm considering dropping support for those parts since there's no reason to use it anyway. On the flip side, perhaps that code will be viable option when OS disabling is fully optional, but I doubt it.

Also removed volatile in some cases where it wasn't needed - this simplified assembly output a lot, freeing up some cycles in interrupt handling (always a plus!)

Also, some groundwork for audio mixing was done - notably support in audio_conv for normalizing/dividing amplitude and speedup for int4 handling