• 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: SDK 1.4.3 Compile error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SDK 1.4.3 Compile error


  • Subject: Re: SDK 1.4.3 Compile error
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 28 Nov 2005 11:52:10 -0800


On Nov 21, 2005, at 1:37 PM, Kevin Kicklighter wrote:

I just downloaded the coreAudio 1.4.3 and it does not compile using gcc 3.3 & gcc 4.0, it's in:
ARTimeStampGenerator.cpp at line 80, the statement clock_get_uptime ((AbsoluteTime*)&mStartTime); should not have the argument casted, removing the cast fixes it.

I've seen this on some systems but not others. I haven't been able to track down the exact reason why, but it appears to have to do with some macros in the kernel headers that wrap clock_get_uptime().


At any rate, removing the cast is the right thing to do if you have the particular set of headers that doesn't like it.

I still get alot of warnings, my question is : is this a bad build?

No. All the warnings are due to having the four char code warning mistakenly enabled. You can fix this by disabling it in the both targets.


The other reason I'm asking is b/c I can't my device to show up a an audio device in the system preferences like the PhantomAudioDriver did. Is there something dramatically different between the two? I've tried setting my:
setProperty (kIOAudioDeviceLocalizedBundleKey,"../../../Developer/ Examples/CoreAudio/HAL/AudioReflectorDriver/build/Debug/ AudioReflectorDriver.kext"); to many different values and non of the them allow the device to show up. Also none of the code fails along the way, I added IOLogs and it works fine.

The AudioReflectorDriver specifically says that it cannot be the default device, so it doesn't show up in the Sound Prefs panel. This is done in ARDevice::initHardware() with the setDeviceCanBeDefault(0) call.


--

Jeff Moore
Core Audio
Apple


_______________________________________________ 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: 
 >SDK 1.4.3 Compile error (From: Kevin Kicklighter <email@hidden>)

  • Prev by Date: Re: Reading audio data from device as kAudioFormatULaw
  • Next by Date: Re: kHALIOCycleTelemetryEventOutOfBoundsZeroTimeStamp
  • Previous by thread: SDK 1.4.3 Compile error
  • Next by thread: Share the love! You've been invited to Gizmo Project
  • Index(es):
    • Date
    • Thread