Re: Questions about AudioStreamBasicDescription
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