Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: k8BitOffsetBinaryFormat in ASBD question



Hi Stephen,

The ASBD format and flags for what in SoundMgr-land would have been 8-bit 'raw ', is as follows (it's an unsigned integer, 0..255, with 128 being silence):

mFormatID = 'lpcm'
mFormatFlags has kAudioFormatFlagIsFloat NOT set, kAudioFormatFlagIsSignedInteger NOT set

Greg

On Feb 2, 2005, at 5:08 PM, Stephen Davis wrote:

What is the proper representation of k8BitOffsetBinaryFormat in an ASBD? To be honest, I can't remember if k8BitOffsetBinaryFormat is effectively signed bytes +127/-128 or something stranger. A quick web search didn't turn up anything useful.

Mainly, I'm just wondering if the format id should be 'lpcm' or 'raw '.

thanks,
stephen

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >k8BitOffsetBinaryFormat in ASBD question (From: Stephen Davis <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.