AAM_SSDControl

This function determines whether or not surround-sound decoding is enabled, and can also be used to set the type of surround-sound decoding.

Syntax

DWORD AAM_SSDControl( DWORD dwFlag LONG *plValue );

Parameters

dwFlag
Specifies information concerning surround-sound decoding. If dwFlag equals AAM_FLAG_GET | AAM_FLAG_SSD_TYPE, plValue contains the surround-sound decoding type that is currently set. If dwFlag is set to AAM_FLAG_SET, plValue is a pointer to the type of surround sound decoding to set. In this case, plValue can contain any of the values returned by AAM_GetSSDCaps.
plValue
Pointer to a long integer that contains the type of surround-sound decoding currently set. If plValue equals AAM_SSD_DISABLED, surround sound decoding is disabled.

Return Values

Zero indicates success. AAM_ERR_NOTSUPPORTED indicates failure.

Remarks

Use AAM_FLAG_GET or AAM_FLAG_SET combined with AAM_FLAG_SSD_TYPE to get or set the current SSD setting.

See Also

AAM_GetSSDCaps