Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "quakedef.h"
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "quakedef.h"
// Init the SDL Audio subsystem
spec.callback = Buffer_Callback;
spec.channels = shm->format.channels;
// Init the SDL Audio subsystem
spec.callback = Buffer_Callback;
spec.channels = shm->format.channels;
spec.freq = shm->format.speed;
spec.userdata = NULL;
spec.samples = AUDIO_SDL_SAMPLES;
if( SDL_OpenAudio( &spec, NULL ) ) {
spec.freq = shm->format.speed;
spec.userdata = NULL;
spec.samples = AUDIO_SDL_SAMPLES;
if( SDL_OpenAudio( &spec, NULL ) ) {