Follow

pro-tip: when using don't use its output buffers for temporary storage in your process callback - if an occurs, the buffers will be sent to the audio device with whatever content they happen to contain at that time (before your audio callback has finished).

better to zero the buffers at the start of your callback, then fill them only at the end of your callback with proper data, using your own buffers for temporary data. this makes the difference between a (potentially very) loud burst of noise and a short silence if an xrun should occur.

Sign in to participate in the conversation
lurk.org

Welcome to post.lurk.org, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that. This is part of a family of services that include mailing lists, group chat, and XMPP.