Re: [NEWBIE] NSSound & audio files
Re: [NEWBIE] NSSound & audio files
- Subject: Re: [NEWBIE] NSSound & audio files
- From: "James B. Tuley" <email@hidden>
- Date: Sun, 10 Oct 2004 22:19:08 -0500
On Oct 10, 2004, at 10:08 PM, justin webster wrote:
how do I get sample rate, bit depth and channel information from audio
files?
I guess its all in the header but I cant find any examples of how to
find and extract this info.
I've been using NSSound to play audio but it is pretty light on
features and the audioToolbox docs don't seem to have what I'm looking
for.
also, I want to be able to play sd2 files too. Could I easily
sub-class NSSound and add support for this format?
NSSound is pretty limited, though it's good for nice playback in
Panther. Quicktime C API's can get all of that info and should play
sd2 too. I'm kinda surprised NSSound doesn't play sd2 (unless you
aren't using Panther).
-Jay
http://indyjt.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden