Re: First release of MAS available



On 24 Jan 2003, iain wrote:

> It would surely be a simple case then to store the data in a cache (GSt
> already has a cache element) and fire it off when needed. The only
> advantage sticking the cache in a sound server brings is memory saving,
> but is the memory usage really going to be that great for a beep every
> now and again?

It's not only memory usage, but CPU usage. Having the 'button clicked'
sound in sound server memory ready to play is a lot more efficient than
having to stat, open & read a file, perform format conversions, and send
the data on to the sound-hardware-abstraction-layer (possibly requiring a
fair bit of inter-process data transfer).

-- Elliot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]