• 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: Swift and CoreAudio pointers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swift and CoreAudio pointers


  • Subject: Re: Swift and CoreAudio pointers
  • From: Jamie Bullock <email@hidden>
  • Date: Thu, 05 Jun 2014 08:19:02 +0100


The relevant talks are public, see "What's new in CoreAudio" and "AVAudioEngine in Practice"

https://developer.apple.com/videos/wwdc/2014/

Jamie

Sent on the move

On 5 Jun 2014, at 04:26, T.J. Usiyan <email@hidden> wrote:

You might try using the new AVFoundation classes since they are Objective-C based. I would outline the classes but NDA makes that a bad idea. There is a session video available that you should watch. 

TJ


On Wed, Jun 4, 2014 at 10:19 PM, Robert Burns <email@hidden> wrote:
Hi All,

So I’m poking around the new Swift language Apple gave us and I’m stuck trying to make a pointer to an AudioComponentDescription.

This gets me the AudioComponentDescription 

let delaycd = AudioComponentDescription(componentType: OSType(kAudioUnitType_Effect), componentSubType: OSType(kAudioUnitSubType_MatrixReverb), componentManufacturer: OSType(kAudioUnitManufacturer_Apple), componentFlags: 0, componentFlagsMask: 0)

But adding it to the AUGraph requires a pointer to it. I get:

 'AudioComponentDescription' is not convertible to 'CConstPointer<AudioComponentDescription>’

when I try creating a pointer to my delayed object with 

let delayPointer:CConstPointer<AudioComponentDescription> = delaycd

Any ideas?

Thanks!

Bob

 _______________________________________________
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: 
 >Swift and CoreAudio pointers (From: Robert Burns <email@hidden>)
 >Re: Swift and CoreAudio pointers (From: "T.J. Usiyan" <email@hidden>)

  • Prev by Date: Re: Swift and CoreAudio pointers
  • Next by Date: AudioServerPlugIn_MachServices
  • Previous by thread: Re: Swift and CoreAudio pointers
  • Next by thread: AudioServerPlugIn_MachServices
  • Index(es):
    • Date
    • Thread