OGG Decoder

For everything that's not in any way related to PureBasic. General chat etc...
Brice Manuel

OGG Decoder

Post by Brice Manuel »

Has anybody found a way to speed up the OGG decoder functions in PB? Or should I just use WAVs if I want the sound to load fast? :?
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

Post by Dreglor »

It's more of a question of streaming the data insted of loading it all at once
it better to use somthing such as fmod or bass or even openAL if you want fast loading and streaming of sound files
~Dreglor
Brice Manuel

Post by Brice Manuel »

I had considered FMOD and downloaded it to try and figure out how to use it, but I have a hard time justifying a DLL that is over 150k when my exe is only 20k.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Re: OGG Decoder

Post by traumatic »

Yes, if your sounds are longer than just a second or something,
streaming is the only way to go.

Since you're concerned about size:

[shameless plug]
viewtopic.php?t=13637
[/shameless plug]
Good programmers don't comment their code. It was hard to write, should be hard to read.
Brice Manuel

Post by Brice Manuel »

Traumatic: Thank you kind sir :wink: That is just what I needed for my app.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

You're welcome :D
Good programmers don't comment their code. It was hard to write, should be hard to read.
Brice Manuel

Post by Brice Manuel »

For people considering this lib, it works very well :D
Post Reply