Re: auval Bus Error?
Re: auval Bus Error?
- Subject: Re: auval Bus Error?
- From: "Sophia Poirier [dfx]" <email@hidden>
- Date: Tue, 30 Oct 2007 15:43:25 -0400
On Oct 29, 2007, at 10:58 PM, Kevin Dixon wrote:
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?
"Bus error" means "you crashed". So time to debug and figure out why...
Sophia
_______________________________________________
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