• 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
"Native" sample format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Native" sample format


  • Subject: "Native" sample format
  • From: Jens Bauer <email@hidden>
  • Date: Wed, 10 Dec 2003 14:37:11 +0100

Hi all,

What's the native format of a sample ?
-Is it a 32bit signed integer ?

I'm asking this question, because I'd like to write my code, so CoreAudio doesn't have to convert my data, before feeding them to the soundcard.

I've been thinking about using floats, but since that floats are only 32bit, they're getting unprecise (but ofcourse, as long as I need 24 bits only, I don't know whether the data are actually ruined).
I'd prefer doubles, so I'm sure that I won't get that problem.
Unfortunately, there's no such format, so is the most precise format 32-bit ?

I know that most people can't hear these differences, but if I'm going to sample some data for other purposes than sound, it could be quite neat to have them as exact as possible, however, I'm also going to write sound applications. ;)


Love,
Jens
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: "Native" sample format
      • From: Jeff Moore <email@hidden>
    • Re: "Native" sample format
      • From: James Coker <email@hidden>
  • Prev by Date: Documentation confusing
  • Next by Date: AU Format Negotiation
  • Previous by thread: Re: Documentation confusing
  • Next by thread: Re: "Native" sample format
  • Index(es):
    • Date
    • Thread