From: Glenn M. <g_...@ze...> - 2002-11-01 21:39:01
|
On Fri, Nov 01, 2002 at 01:49:54PM -0500, Glenn Maynard wrote: Here's another idea: make all songs have a BGM track. If it doesn't have one, feed silence. Then just make an assumption: if sound skips, all sound skipped. That is, if one sound skipped for 12ms, then all other sounds playing did, too. So, if a BGM on some other track skipped, it'll be resynced implicitly since the silence track would have skipped as well. Reasonable assumption? I don't know. If the sounds are being mixed in software, in the same thread, probably. If weird things are going on under the hood (like multiple DMA buffers for multiple sounds being fed from multiple threads), maybe not. If it works, it'd be a lot simpler than generating MOD data or (what I was thinking) mixing sounds ourself. -- Glenn Maynard |