• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sinewave
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Sinewave
  • Next by Date: Re: Cocoa hosts compatibility
  • Previous by thread: Sinewave
  • Next by thread: threads
  • Index(es):
    • Date
    • Thread