Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sinewave



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:
> http://lists.apple.com/mailman/options/coreaudio-api/email@hidden
>
> 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:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden

References: 
 >Sinewave (From: Roland Silver <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.