Skip to main content
GameDev.net gamedev.net
🔒 Locked

SDL_mixer & Direct Sound Processing

Started by DLT_Chief Jul 12, 2005 at 9:05 PM 0 replies 650+ views
Original Post
DLT_Chief
DLT_Chief
is there anyway i can process and play sounds in a manner such as direct processing?? like the way by using SDL_GetKeyState() with input. My problem is that im making a tetris clone and a sound is to be played when a block is rotated, the problem is that the input handling is at the start of a PollEvent loop and there is some time before the event is processed, which leaves a smaal delay in the sound being played...please help...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.