[futurebasic] QT Sound Constants

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2002 : Group Archive : Group : All Groups

From: Ian Mann <i.mann@...>
Date: Mon, 21 Oct 2002 15:44:04 +0100

I am trying to sort out the way in which QuickTime handles sound.

I can't find actual numerical/OSType definitions for these in the QTAPI6
docs or the QT components docs or on the website.

Anybody got any ideas ?

Best Regards


The following constants have been added to the list of selectors that
can be passed to SCGetInfo and SCSetInfo . These selectors are only
supported by the standard sound dialog component, not the standard
image-compression dialog component.

       A pointer to an UnsignedFixed value that represents the current
sample rate.

       A pointer to a short integer that represents the current sample
size. This value is either 8 or 16.

       A pointer to a short integer that represents the current number
of channels. This value is either 1 or 2.

       A pointer to a value of type OSType that represents the current
compression type. This value is either kRawCodecType or one of the
       available sound compression formats.

       A pointer to a handle containing an array of values of type
OSType that indicate the sound compression formats that may be presented

       to the user. Pass nil to SCSetInfo to reset the list to all
available sound compression formats.