James, Sinewave, your "very simple Cocoa CoreAudio app", has proved invaluable as a starting point for my own Cocoa CoreAudio app, "AttonalComposer".
When I compile Sinewave under Xcode 3 I get the following warnings. I can easily fix the ones about "run" and "stop", but I don't know enough about the CoreAudio API to upgrade the call of the two deprecated functions, AudioDeviceAddIOProc and AudioDeviceRemoveIOProc.
Can you help? ---------------------------------------------- Line Location NSNetServices.h:139: warning: using '-(void)stop' Line Location NSOperation.h:19: warning: using '-(void)start' Line Location NSSound.h:54: warning: also found '-(BOOL)stop' Line Location Sinewave.h:25: warning: also found '-(BOOL)start' Line Location Sinewave.m:149: warning: 'AudioDeviceAddIOProc' is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2067) Line Location Sinewave.m:169: warning: 'AudioDeviceRemoveIOProc' is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2081) Line Location SinewaveController.m:24: warning: multiple methods named '-start' found Line Location SinewaveController.m:50: warning: multiple methods named '-stop' found
---------------------------------------------- Sincerely, |