Is it safe to use memset() & memcpy() in my callback?
Is it safe to use memset() & memcpy() in my callback?
- Subject: Is it safe to use memset() & memcpy() in my callback?
- From: Steve gfx <email@hidden>
- Date: Tue, 5 Oct 2010 21:11:54 +0100
I've read various dos & don'ts about what is safe to run inside an input Audio Unit callback.
I'm sequencing lots of small sounds which I'm copying from memory in to the callback buffers.
Is it safe to use memcpy() to copy across my buffers, and memset(frameBuffer, 0, length) to silence the parts of the stream I need to?
I'm hoping it should be quicker than looping/filling one frame at a time.
Thanks
Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden