SDL_Init(SDL_INIT_AUDIO);
SDL_AudioSpec spec, aspec;
SDL_zero(spec);
spec.freq = 48000; //declare specs
spec.format = AUDIO_S16SYS;
spec.channels = 1;
spec.samples = 4096;
spec.callback = callback;
spec.userdata = NULL;
SDL_Init(SDL_INIT_AUDIO);
SDL_AudioSpec spec, aspec;
SDL_zero(spec);
spec.freq = 48000; //declare specs
spec.format = AUDIO_S16SYS;
spec.channels = 1;
spec.samples = 4096;
spec.callback = callback;
spec.userdata = NULL;