Miles Sound System SDK 7.2a

AIL_digital_configuration

The function AIL_digital_configuration returns information about the specified digital driver.

void AIL_digital_configuration(
  HDIGDRIVER dig,
  S32 *rate,
  S32 *format,
  char *desc
);

In Parameters

dig
indicates the driver to inspect.

Out Parameters

rate
is a pointer to an integer that will receive the current output rate.
format
is a pointer to an integer that will receive one of the MILES_DIGITAL_FORMAT constants.
desc
is a pointer to a string buffer that will receive a description of the current sound driver. This buffer must be at least 128 characters in length.

Discussion

You can pass in NULL for any of the parameters that you're not interested in.

Under Win32 and Win64, the *desc string will also tell you if MSS is using DirectSound or the waveOut multimedia extensions (MME). It will also tell you if you are running in emulated DirectSound mode by prepending the description with the string"Emulated".


Group: Digital Audio Services
Related Basic Types: HDIGDRIVER, MILES_DIGITAL_FORMAT, S32, char, void

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.