Re: Sinewave
Re: Sinewave
- Subject: Re: Sinewave
- From: "tahome izwah" <email@hidden>
- Date: Sat, 5 Jan 2008 16:16:16 +0100
Roland, take a look at the "deprecated functions" thread on this list,
it has the answers to your question.
--th
2008/1/5, Roland Silver <email@hidden>:
> 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,
>
> Roland Silver
> email@hidden
>
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
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
References: | |
| >Sinewave (From: Roland Silver <email@hidden>) |