Can anyone explain this?

2008-09-12 Thread Roland Silver
Can anyone explain this? The value of the expression is apparently different from the value of a variable assigned to that expression: double pitch = A0Pitch * pow(2.0, ntones/ currentTonesPerOctave(voice)) ; NSLog(@"expression value: %f", A0Pitch * pow(2.0, ntones/ currentTonesPerOctave(v

mysterious undefineds

2008-09-07 Thread Roland Silver
I'm getting 6 build errors, all symbols referenced from Controller.o, but undefined: Undefined symbols: "_AudioDeviceStop", referenced from: [Controller stopPlaying:] in Controller.o "_AudioDeviceGetProperty", referenced from: "_AudioDeviceDestroyIOProcID", "_AudioDeviceCreateIOPro

text view example

2008-09-06 Thread Roland Silver
Can anyone point me to a Cocoa app or tutorial or example whose code I can adapt which has a window with a scrollable text view into which I can post text? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

error codes

2008-08-23 Thread Roland Silver
Is there a convenience function (or method) foo() with int arg and NSString* value for converting an error code to a string? For example, given error code errcode = 560227702 = 0x21646576, foo(errcode) = @"!idev"? --RS ___ Cocoa-dev mailing list (

Re: uncaught breakpoint

2008-03-26 Thread Roland Silver
eer - Sync Services Sent from my iPhone On Mar 26, 2008, at 8:15 PM, Roland Silver <[EMAIL PROTECTED]> 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'

uncaught breakpoint

2008-03-26 Thread Roland Silver
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 PROTECTED] ___ Coco