XACTSetVolume
XACTSetVolume
Sets the volume of a sound category.
Windows: This function is not supported on the Windows platform. Use IXACTEngine::SetVolume
STDAPI XACTSetVolume( XACTCATEGORY nCategory, XACTVOLUME nVolume );
Parameters
- nCategory
[in] Index of the category (XACTCATEGORY) for which you wish to set the volume, as returned by XACTGetCategory. - nVolume
[in] Volume level to establish. This value can range between 0.0f and FLT_MAX, where the volume levels are as follows:
Return Values
Returns S_OK if successful, an error code otherwise.
Remarks
Note This function has been deprecated. Titles should use IXACTEngine::SetVolume.
Requirements
Header: Declared in Xact.h.
Library: Use Xact.lib.