• 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
Re: Bit Width vs. Bit Depth
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bit Width vs. Bit Depth


  • Subject: Re: Bit Width vs. Bit Depth
  • From: Jeff Moore <email@hidden>
  • Date: Tue, 12 Mar 2002 16:19:12 -0800

on 3/12/02 2:28 PM, Cameron Jones <email@hidden> wrote:

> My device ships around 24-bit audio stored in 32-bit words (e.g. Low 8 bits
> are zeroes).
>
> What settings should I use in my driver for bit width and bit depth?

Bit Depth: the number of bits of sample data
Bit Width: the number of bits the sample data actually occupies

In your case, the Bit Depth is 24 and the Bit Width is 32.

Note that the fAlignment field, which indicates the packing type, also plays
into things when Bit Depth is different from the Bit Width. In your case you
will set the fAlignment field to kIOAudioStreamAlignmentHighByte.

--

Jeff Moore
Core Audio
Apple
_______________________________________________
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.

References: 
 >Bit Width vs. Bit Depth (From: Cameron Jones <email@hidden>)

  • Prev by Date: Bit Width vs. Bit Depth
  • Next by Date: Re: MIDI driver monitoring -- bad destination?
  • Previous by thread: Bit Width vs. Bit Depth
  • Next by thread: Dave
  • Index(es):
    • Date
    • Thread