For everything that's not in any way related to PureBasic. General chat etc...
Brice Manuel
Post
by Brice Manuel » Fri Sep 23, 2005 1:19 am
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
Posts: 759 Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA
Post
by Dreglor » Fri Sep 23, 2005 1:23 am
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 » Fri Sep 23, 2005 1:47 am
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
Posts: 1661 Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:
Post
by traumatic » Fri Sep 23, 2005 7:18 am
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 » Fri Sep 23, 2005 9:38 am
Traumatic: Thank you kind sir
That is just what I needed for my app.
traumatic
PureBasic Expert
Posts: 1661 Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:
Post
by traumatic » Fri Sep 23, 2005 11:28 am
You're welcome
Good programmers don't comment their code. It was hard to write, should be hard to read.
Brice Manuel
Post
by Brice Manuel » Mon Sep 26, 2005 10:01 am
For people considering this lib, it works very well