auval Bus Error?
auval Bus Error?
- Subject: auval Bus Error?
- From: "Kevin Dixon" <email@hidden>
- Date: Mon, 29 Oct 2007 22:58:18 -0400 (EDT)
- Importance: Normal
I have a set of buffers (e.g. Float32 ** tempBuffers)
Depending on what the user has selected, not all of the buffers are filled
at once.
I want to zero the samples in a buffer when it is not being used (since
I'm mixing all of these buffers together for the output).
So I do this in a loop:
tempBuffers[curBuffer][curSample] = 0;
However when this loop is in place, auval gives the following output:
Render Test at 64 frames, sample rate: 22050 Hz
Render Test at 137 frames, sample rate: 96000 Hz
Render Test at 4096 frames, sample rate: 44100 Hz
Render Test at 4096 frames, sample rate: 192000 Hz
(waits for a second)
Bus error
When I comment the loop out, it compiles, but then of course I get a bunch
of noise in the MixDown from random valued samples.
Any ideas?
-Kevin Dixon
_______________________________________________
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