Page 1 of 1

Posted: Fri Mar 21, 2003 3:50 am
by BackupUser
Restored from previous forum. Originally posted by mindplay.

It would be nice if it were possible to write a callback for streaming sound buffer generation - e.g. for custom sound routines, trackers etc. ... I've started writing a tracker in PB, but I need to use FMod for now, for custom buffer generation, but the thing is, I'd like to keep it PURE, notch notch, know what I mean, say no more :)

For this, SetSoundBuffer and GetSoundBuffer commands would be very useful as well, to allow setting the number of buffers and their size - and, I suppose, some sort of warning-callback as well, which notifies the application of buffer underrun (i.e. when the CPU is overloaded, or when the buffer is too short and the soundcard driver can't keep up) ...