[Kde-games-devel] To ogg or not to ogg?

Albert Astals Cid aacid at kde.org
Wed Jul 1 18:51:59 CEST 2009


A Dimecres, 1 de juliol de 2009, Luciano Montanaro va escriure:
> On Wed, Jul 1, 2009 at 8:55 AM, Ian Wadham<ianw2 at optusnet.com.au> wrote:
> > Hi guys,
> >
> > Up till now KGoldrunner sound-files have all been .wav, however
> > I just added a file that had been accidentally omitted and I notice
> > the files are getting rather large.  For example:
> >
> >    Falling sound 1.325Mb
> >    Game over sound 1.141Mb
> >    Victory sound 1.166Mb
> >
> > The other 7 sounds are all less than 0.2Mb each.
> >
> > Should I convert the larger sounds to OGG?  Should I convert all
> > the sounds to OGG?  What are the pros and cons?  Are there any
> > portability problems?  Any ideas ...
>
> I  Think converting the gameover and victory sound should be OK.
> I'd prefer the fallingsound not to be converted, since the ogg ecoding
> would add some latency...

You should test things before saying them ;-)

Late 2005 the company i switched from storing saved files of the program i did 
pay work for from plain text to compressed. Loading got faster because reading 
a big file from disk was so much slower than reading a smaller one and doing 
the decompression.

Not sure if that applies here but i can easily see it happening.

Albert

> The sound could be probably shortened, though.
>
> Luciano



More information about the kde-games-devel mailing list