Sign in to follow this  

SDL Sound Mixing and OGGs

This topic is 4856 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

SDL is looking like a really good alternative to using DirectX right now and I just wanted to check with you guys on a few things. I want to use Vorbis file lib to decode an OGG into a PCM buffer, I get that far but now I’m running into a few problems. SDL_MixAudio only supports two audio channel mixing and I’m having trouble figuring out how to play a PCM buffer. The docs recommended using SDL_mixer instead for more than two channel mixing but I haven’t found any documentation for that. Plus I’m having trouble finding out how to play a PCM buffer directly, SDL_LoadWAV is for loading a wave file. I’m sure there’s a simple way of doing this, I’m just not seeing it =(

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
http://kekkai.org/roger/sdl/mixer/index.html

In the first exemple, their play ogg sound file with SDL_Mixer no other lib.

Warlockzzz

Share this post


Link to post
Share on other sites
Quote:
Original post by Anonymous Poster
http://kekkai.org/roger/sdl/mixer/index.html

In the first exemple, their play ogg sound file with SDL_Mixer no other lib.

Warlockzzz


Nice link, thanks

Share this post


Link to post
Share on other sites

This topic is 4856 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this