Re: definition of kRenderQuality_xxx constants missing in Windows QT SDK
Re: definition of kRenderQuality_xxx constants missing in Windows QT SDK
- Subject: Re: definition of kRenderQuality_xxx constants missing in Windows QT SDK
- From: Andrea Barbieri <email@hidden>
- Date: Wed, 25 Apr 2007 15:22:44 +0100 (BST)
Hello Brad,
thanks for the quick response
BF:=Brad Ford
BF> These are constants defined in <AudioUnit/AudioUnitProperties.h> on
BF> Mac OS X.
BF>
BF> Since we don't have these headers on Windows, you can just define
BF> them yourself somewhere:
BF>
BF> enum {
BF> kRenderQuality_Max
BF> = 0x7F,
BF> kRenderQuality_High
BF> = 0x60,
BF> kRenderQuality_Medium
BF> = 0x40,
BF> kRenderQuality_Low
BF> = 0x20,
BF> kRenderQuality_Min
BF> = 0
BF> };
just found them by calling QTGetComponentProperty using
kQTSCAudioPropertyID_RenderQuality...
BF>
BF> Feel free to file a bug so that we put these in one of the QT
BF> headers in a future release of the sdk.
will do
thanks again
andrea
BF>
BF> -Brad Ford QuickTime Engineering
BF>
BF>
BF>
BF> On Apr 25, 2007, at 7:08 AM, Andrea Barbieri wrote:
BF>
BF> >Hello,
BF> >
BF> >looking in QuickTimeComponents.h for kQTSCAudioPropertyID_RenderQuality one
BF> >can find mention of the following constants:
BF> >
BF> >kRenderQuality_Max, kRenderQuality_High, kRenderQuality_Medium,
BF> >kRenderQuality_Low, kRenderQuality_Min
BF> >
BF> >which (allegedly) are defined in AudioUnitProperties.h but unfortunately
BF> >there is no such include file for the Windows QT SDK version 7.1
BF> >
BF> >an indication of what such constant values might be is provided in Movies.h
BF> >for the property:
BF> >kQTAudioPropertyID_RenderQuality
BF> >
BF> >0x00 (kRenderQuality_Min) to 0x7F (kRenderQuality_Max)
BF> >
BF> >does annyone know the values for all the render quality constants?
BF> >
BF> >best regards,
BF> >andrea
BF> >--
BF> >Andrea Barbieri
BF> >Moving Image Research http://www.movingimageresearch.com/
BF> >The Workshop, Hampton Lane, Bristol, BS6 6LE, UK
BF> >Tel: +44 117 9732200 FAX: +44 117 9732210
BF> >PGP ID=0x034DFD5A KeyFingerprint=C168EA9A7189538D214F1281A7529F32034DFD5A
BF> >_______________________________________________
BF> >Do not post admin requests to the list. They will be ignored.
BF> >QuickTime-API mailing list (email@hidden)
BF> >Help/Unsubscribe/Update your Subscription:
BF> >
BF> >This email sent to email@hidden
BF>
BF>
--
Andrea Barbieri
Moving Image Research http://www.movingimageresearch.com/
The Workshop, Hampton Lane, Bristol, BS6 6LE, UK
Tel: +44 117 9732200 FAX: +44 117 9732210
PGP ID=0x034DFD5A KeyFingerprint=C168EA9A7189538D214F1281A7529F32034DFD5A
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden