Help with Audio...
Posted: Sat May 21, 2011 5:47 am
I was wondering if anyone here had enough experience with OpenAL, to help me?
I need to try and come up with something that will function like DeMP3 (Which uses mciSendString_() API) to control MP3 files...but in this case I need to be able to have the same control over Ogg and FLAC files... I don't know if it would help if I posted the DeMP3 source file, or not...
And if it could be made so I could play an Ogg or FLAC file from memory, without having to save it to the HDD...that would be better. Don't get me wrong, I know PB has the sound decoder...but the built sound functions don't give me nearly enough control. I need to be able to speed up as well as slow down the audio playing, keep track on a Millisecond Basis of where in the file the play pointer is...and be able to play the file from Millisecond A to Millisecond B...so if an OpenAL based version of DeMP3 could be made for audio formats like Ogg/FLAC...it would be a HUGE plus...
[EDIT] I am wondering though, if it might make more sense to use SDL...opinions and help will be greatly appreciated![/EDIT]
I need to try and come up with something that will function like DeMP3 (Which uses mciSendString_() API) to control MP3 files...but in this case I need to be able to have the same control over Ogg and FLAC files... I don't know if it would help if I posted the DeMP3 source file, or not...
And if it could be made so I could play an Ogg or FLAC file from memory, without having to save it to the HDD...that would be better. Don't get me wrong, I know PB has the sound decoder...but the built sound functions don't give me nearly enough control. I need to be able to speed up as well as slow down the audio playing, keep track on a Millisecond Basis of where in the file the play pointer is...and be able to play the file from Millisecond A to Millisecond B...so if an OpenAL based version of DeMP3 could be made for audio formats like Ogg/FLAC...it would be a HUGE plus...
[EDIT] I am wondering though, if it might make more sense to use SDL...opinions and help will be greatly appreciated![/EDIT]