• 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
CAF file, testing chunk types?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CAF file, testing chunk types?


  • Subject: CAF file, testing chunk types?
  • From: Darren Minifie <email@hidden>
  • Date: Wed, 30 Sep 2009 18:28:37 -0700

Hi everyone

I apologize for this "noob" question but I've never run into it before (and I am sure to receive a 'google it' response, but haven't found what i'm looking for).

I am writing a CAF file parser for fun.  I have parsed the four character strings that describe the chunk types, and have them stored as NSStrings.  I want to be able to output a more meaningful name however.  In CAFFile.h, an enum is defined that describes the chunk types:

// CAF Chunk Types   
enum {
    kCAF_StreamDescriptionChunkID   = 'desc',
    kCAF_AudioDataChunkID            = 'data',
    kCAF_ChannelLayoutChunkID        = 'chan',
    kCAF_FillerChunkID                = 'free',
    etc....
}

My question is: what are the datatypes of this enum? i know that single characters in single quotes are chars (e.g 'a', 'b'), and string literals are in double quotes ("a", "b"), but what are these and how to I test them against the strings that I have parsed?

Thanks for any help.



--
Darren Minifie
Computer Science Masters Candidate
University of Victoria, BC. Canada
My Rants: www.noisyair.com
My Band: www.ohsnapmusic.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

  • Follow-Ups:
    • Re: CAF file, testing chunk types?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: How to delay AudioQueue playing
  • Next by Date: Re: CAF file, testing chunk types?
  • Previous by thread: Re: How to delay AudioQueue playing
  • Next by thread: Re: CAF file, testing chunk types?
  • Index(es):
    • Date
    • Thread