/* -*-c-*-
*
- * $Id: ausys-sdl.c,v 1.1 2002/02/02 19:16:28 mdw Exp $
+ * $Id: ausys-sdl.c,v 1.2 2002/02/02 22:43:17 mdw Exp $
*
* Unix-specific (SDL) audio handling
*
/*----- Revision history --------------------------------------------------*
*
* $Log: ausys-sdl.c,v $
+ * Revision 1.2 2002/02/02 22:43:17 mdw
+ * Remove bogus debugging. Reduce output buffer size for faster response.
+ *
* Revision 1.1 2002/02/02 19:16:28 mdw
* New audio subsystem.
*
}
/* --- Fill the buffer with my sample --- */
-exit(0);
+
n = qsz;
if (n > sz)
n = sz;
want.freq = 8000;
want.format = AUDIO_U8;
want.channels = 1;
- want.samples = 4096;
+ want.samples = 1024;
want.callback = fill;
want.userdata = 0;