Share via


IXACTWaveBank::GetWaveIndex

IXACTWaveBank::GetWaveIndex

Returns the wave index for the friendly name of a wave in a wave bank.

[Code-driven]

  XACTINDEX 
  GetWaveIndex(
  PCSTR szFriendlyName
);

Parameters

  • szFriendlyName
    Friendly name for the wave within the wave bank.

Return Values

Wave index for the friendly name of a wave within a wave bank.

If the wave bank does not contain the friendly name, or if an entry does not exist for the name that is passed in, the method returns XACTINDEX_INVALID .

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

IXACTWaveBank