Share via


IXACTEngine::GetRendererCount

IXACTEngine::GetRendererCount

Returns the total number of audio rendering devices that are available on the system.

Xbox 360:  This method is not supported on the Xbox 360 platform.

[Content-driven]

  HRESULT 
  GetRendererCount(
  XACTINDEX *pnRendererCount
);

Parameters

  • pnRendererCount
    Pointer to an XACTINDEX value that represents the count of audio devices.

Return Values

Returns S_OK if successful. Otherwise, an error code.

Remarks

This method returns the total number of audio rendering devices that are available on the system. Because renderer indices are zero-based, the index of the last device is the number of devices minus one. For example, if there are two devices on the system, the index of the first device is 0 and the index of the last device is 1.

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

IXACTEngine