• 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
[NEWBIE] NSSound & audio files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[NEWBIE] NSSound & audio files


  • Subject: [NEWBIE] NSSound & audio files
  • From: justin webster <email@hidden>
  • Date: Mon, 11 Oct 2004 16:08:10 +1300

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?


_______________________________________________
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
  • Follow-Ups:
    • Re: [NEWBIE] NSSound & audio files
      • From: "James B. Tuley" <email@hidden>
  • Prev by Date: how to save an image with NSBitmapImageRep into a new image file?
  • Next by Date: Re: [NEWBIE] NSSound & audio files
  • Previous by thread: how to save an image with NSBitmapImageRep into a new image file?
  • Next by thread: Re: [NEWBIE] NSSound & audio files
  • Index(es):
    • Date
    • Thread