Re: Bit Width vs. Bit Depth
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.