[SDL] Sound and Music
msched at msched.no-ip.org
Sun Sep 18 18:12:51 PDT 2005
On Sunday 18 September 2005 06:18, Tyler Montbriand wrote:
> I'd stream from file. You might get a little performance benefit from
> having it all in memory but not much, and using excessive amounts of memory
> can lead to swapping, which will slow things down a LOT.
Of course, that's what I'm worrying about. I'll just keep it as it is then.
> If you want to get fancy, you can "map" the file into to memory, to have
> the OS automatically load the appropriate bits as needed; but not
> everything can do this.
That doesn't sound very portable?
Hofstadter's law: "It always takes longer than you think, even when you take
account of Hofstadter's law".
More information about the SDL