Err ssplDetachInstrument ( SoundSpooler *sspl )
ssplDetachInstrument()
removes the current sample player instrument from the SoundSpooler. Any buffers in the active queue are aborted (calls ssplAbort()
). Spooler playback cannot be started until a new instrument is attached with ssplAttachInstrument()
. Incidentally, ssplAttachInstrument()
calls this function prior to attaching a new instrument, so it's pretty unlikely that you actually need to call this function directly.
ssplAbort()
. Note that there is no provision to supply a UserBufferProcessor function to ssplAttachInstrument()
. An installed SoundBufferFunc works correctly, however.
ssplAttachInstrument
(), ssplAbort()