Re: uncaught breakpoint
Re: uncaught breakpoint
- Subject: Re: uncaught breakpoint
- From: Roland Silver <email@hidden>
- Date: Wed, 26 Mar 2008 22:49:05 -0600
Here's a bit of the code. Ssignal
-------------------------------------
double t = getTime();
double dt = 1.0/inSampleRate;
// mNumberBuffers is the same as the kNumChannels
UInt32 frame;
StereoSignal ssignal; //a StereoSignal is a struct with two fields
(doubles), left and right
for (frame = 0; frame < inFrames; ++frame) {
// generate inFrames 32-bit floats
ssignal = (signalType ? getSineSignal(t) : getPieceSignal(t));
ssignal.left = 1.0;
double ssignalLeft = ssignal.left * plangency * 32768. + 0.5;
SInt16 ssignalLeftInt = ssignalLeft;
NSLog(@"ssignal.left=%g, ssignalLeft=%g, ssignalLeftInt=%i",
ssignal.left, ssignalLeft, ssignalLeftInt);
((SInt16*)((&(ioData->mBuffers[0]))->mData))[frame] =
(SInt16)(ssignal.left * plangency * 32768. + 0.5);
((SInt16*)((&(ioData->mBuffers[1]))->mData))[frame] =
(SInt16)(ssignal.right * plangency * 32768. + 0.5);
t += dt;
} //end for
-------------------------------------
On 2008Mar26, at 21:19, Aaron Jones wrote:
Why don't you post the code that we can see what you're talking
about and if its syntax
AJ Jones
Apple Inc.
Software Quality Engineer - Sync Services
Sent from my iPhone
On Mar 26, 2008, at 8:15 PM, Roland Silver <email@hidden>
wrote:
I have a breakpoint set for the statement after an NSLog statement.
When I run the program under debugging, the NLog statement is
executed, but the program doesn't stop at the breakpoint.
How come?
Roland Silver
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden