Re: Preloading sound files
- From: sopwith redhat com (Elliot Lee)
- To: gnome-devel-list gnome org
- Subject: Re: Preloading sound files
- Date: 14 Feb 1999 21:01:48 GMT
On Sun, 14 Feb 1999 13:41:15 -0500, Ian Peters <ipeters@acm.org> wrote:
>I finally added sound support to gnibbles, and it's working great.
>Much easier than that sound driver I first hacked together 2+ years
>ago.:)
>
>But my problem is this - when the game first plays a sample, there's a
>noticable lag while it loads the sample. After the first time,
>there's no more delay.
>
>So is it possible to preload the samples to avoid this? It's not the
>end of the world, but it's annoying.
Since you're already using the gnome_triggers API, I'm not sure what the
problem is... sound-properties does all the loading at session init time
(unless you have a really really ancient gnome-libs). Maybe it's just getting
pulled out of swap or something?
-- Elliot
"In film you will find four basic story lines. Man versus man, man
versus nature, nature versus nature, and dog versus vampire."
- Steven Spielberg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]