Tagged Questions
0
votes
0answers
32 views
How do I initialize audio to use DUMB with SDL?
Am I able to just call SDL_Init(SDL_INIT_AUDIO); to initialize the audio and DUMB is good to go, or do I have to set the SDL_AudioSpec parameters and call SDL_OpenAudio(parameter1,parameter2);?
...
2
votes
1answer
244 views
How do I play music at half speed?
I'd like to slowdown music playback, say at half speed. I'm currently using SDLmixer. I assume I'd need to tell SDL that I have a 44KHz music and want to stream it at 22KHz, but when I pass in 22Khz ...
0
votes
0answers
186 views
SDL audio streaming callback function never triggered
I'm attempting to stream audio for my C++ game which uses SDL through the mingw32 environment. From my understanding it's a fairly simple affair:
extern "C" void audioStep(void* unused, Uint8* ...