Share via


Mixer Device Queries (Windows Embedded CE 6.0)

1/6/2010

The mixer services provide functions for determining the number of mixer devices present in the system and the capabilities of the devices. You can also use a mixer services function to determine the device identifier for a mixer device.

You can use the mixerGetNumDevs function to determine how many mixer devices are present in the system. Mixer devices are identified by a device identifier. Device identifiers are determined implicitly from the number of devices present in a given system. They range from zero through one less than the number of devices present.

Before using a mixer device, you must determine its capabilities. Audio capabilities can vary from one multimedia computer to another, so applications need to work with a variety of audio hardware.

You can use the mixerGetDevCaps function to determine the capabilities of mixer devices. This function fills a MIXERCAPS structure with information about the capabilities of a specified device.

The mixerGetID function retrieves the audio mixer device identifier associated with a specified device handle. For example, you could use this functionto retrieve the device identifier for an audio mixer and then use the device identifier to adjust the volume or display another control.

See Also

Concepts

Hardware Audio Mixer