Prblems with SDL_mixer in windows

i have problems with the SDL_mixer in windows. the same code works perfectly in linux.
here’s the code.
when i debugged it a meesage appeared: DSOUNS: Error Secondary buffers don’t support SetFormat.

int main(int argc, char *argv[])
{
Mix_Chunk *sonido;

if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0) {
printf (“Error: %s\n”, SDL_GetError());
return 1;
}

if (Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT, 1, 2048) < 0) {
printf (“Error: %s\n”, Mix_GetError());
return 1;
}

atexit(SDL_Quit);
atexit(Mix_CloseAudio);
Mix_Volume(0,255);

sonido = Mix_LoadWAV(“Galaga.wav”);
if (!sonido) {
printf (“Error: %s\n”, Mix_GetError());
return 1;
}

Mix_AllocateChannels(8);
if (Mix_PlayChannel(0, sonido, 0) < 0) {
printf (“Error: %s\n”, Mix_GetError());
return 1;
}

while(Mix_Playing(-1)!= 0) ;

Mix_FreeChunk(sonido);
return 0;
}

anyone have any suggestions?