• 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: Questions about AudioStreamBasicDescription
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about AudioStreamBasicDescription


  • Subject: Re: Questions about AudioStreamBasicDescription
  • From: Brian Willoughby <email@hidden>
  • Date: Sun, 1 Feb 2009 16:30:39 -0800

You must #include <CoreAudio/CoreAudio.h> or <CoreAudio/ CoreAudioTypes.h> in order to keep the compiler happy. This is sufficient to allow AudioStreamBasicDescription to be used as an instance variable in an Objective C class, which is a structure, or as a type for method returns or parameters.

Brian Willoughby
Sound Consulting


On Feb 1, 2009, at 16:25, Fredrik wrote:
I´m planning to stick with the ASBD struct, but why does my compiler complain? I noticed that it was no typedef involved in the documentation so I added 'struct' in front of it. This just moves the problem however to OutFormat which is my own struct of this type. The error I get is 'OutFormat undeclared first use in this function', so it seems to me that it´s not included somehow since the complier seems unaware that OutFormat is a struct of the type AudioStreemBasicDescription.


_______________________________________________
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: 
 >Re: Questions about AudioStreamBasicDescription (From: tahome izwah <email@hidden>)
 >Re: Questions about AudioStreamBasicDescription (From: Fredrik <email@hidden>)
 >Re: Questions about AudioStreamBasicDescription (From: Bob Lang <email@hidden>)
 >Re: Questions about AudioStreamBasicDescription (From: Fredrik <email@hidden>)
 >Re: Questions about AudioStreamBasicDescription (From: Brian Willoughby <email@hidden>)
 >Re: Questions about AudioStreamBasicDescription (From: Fredrik <email@hidden>)

  • Prev by Date: Re: Questions about AudioStreamBasicDescription
  • Next by Date: Re: AIFFWriter - Select Output Encoding Format dialog box
  • Previous by thread: Re: Questions about AudioStreamBasicDescription
  • Next by thread: Re: AIFFWriter - Select Output Encoding Format dialog box
  • Index(es):
    • Date
    • Thread