Share via


IXACTCue::SetVoiceOutputVolume

IXACTCue::SetVoiceOutputVolume

Adjusts the volume of a voice previously set by IXACTCue::SetVoiceOutput.

Xbox 360:  This method is specific to the Xbox 360 platform and uses the XAUDIOVOICEOUTPUTVOLUME structure of the XAudio services.

[Content-driven]

  HRESULT 
  SetVoiceOutputVolume(
  LPCXAUDIOVOICEOUTPUTVOLUME pVolume
);

Parameters

  • pVolume
    [in] Pointer to an XAUDIOVOICEOUTPUTVOLUME structure containing the volume mappings.

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

After calling IXACTCue::SetVoiceOutput calls to IXACTCue::SetChannelVolume are ignored. You must use IXACTCue::SetVoiceOutputVolume to adjust the volume, or switch to using a channel map by calling IXACTCue::SetChannelMap.

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

IXACTCue