CAF file, testing chunk types?
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