[SDL] I couldnt install SDL_ttf

Waverlock waverlock at yahoo.com.br
Wed Jul 31 06:09:00 PDT 2002


> i can't solve a following (newbie) problem. I have callback function for
> SDL_AudioSpec, and SDL_OpenAudio is inicializated with some userdata value.
> Then i need to change the userdata with another value, but in callback still remain
> old value. How i can to reinicialize it? Pleas see the source below for more details.
>
> /*  SDL_CloseAudio();	*/

You need to close the audio device and reopen it to change to a different
frequency.

--ryan.







More information about the SDL mailing list