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

Re: AudioFileTypeAndFormatID


  • Subject: Re: AudioFileTypeAndFormatID
  • From: Craig Bakalian <email@hidden>
  • Date: Sun, 6 Mar 2005 18:13:57 -0500

AudioFileTypeAndFormat tf = {audioFileType, formatIDs[i]};

The above does not compile either. I think it has to with the way structs are define in Objective C? What I have done, with success, is made my own struct with two UInt32 variables and pass it in to the AudioToolbox call.

Craig Bakalian

On Mar 6, 2005, at 1:41 PM, Shaun Wexler wrote:

On Mar 6, 2005, at 10:28 AM, Craig Bakalian wrote:

Hi,
When I try to use the struct AudioFileTypeAndFormatID in my Cocoa - Objective C project with the AudioToolbox linked, I get the following error. What is up with this? The UInt32s are set properly.
this is the line in the function ->
<x-tad-smaller>
</x-tad-smaller>
AudioFileTypeAndFormatID tf = {audioFileType, formatIDs[i]};<x-tad-smaller>

BGAudioFile.m:106: error: `AudioFileTypeAndFormatID' undeclared (first use in this function) (Each undeclared identifier is reported only once for each function it appears in.)
BGAudioFile.m:106: error: parse error before "tf"</x-tad-smaller>

<x-tad-smaller>
</x-tad-smaller>
AudioFileTypeAndFormat tf = {audioFileType, formatIDs[i]};
--
Shaun Wexler
MacFOH
http://www.macfoh.com

 _______________________________________________
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: 
 >AudioFileTypeAndFormatID (From: Craig Bakalian <email@hidden>)
 >Re: AudioFileTypeAndFormatID (From: Shaun Wexler <email@hidden>)

  • Prev by Date: Re: Newb: MultitapAU UI does not appear
  • Next by Date: update: DFX AU utilities library
  • Previous by thread: Re: AudioFileTypeAndFormatID
  • Next by thread: MyVolumeUnit example.. does not 'pan'
  • Index(es):
    • Date
    • Thread