Obtains the legal XMA sample rate (24, 32, 44.1 or 48Khz) corresponding to a generic sample rate.
DWORD GetXmaSampleRate(
DWORD dwGeneralRate
)
dwGeneralRate
Type: DWORDÂ
Generic sample rate.
Type: DWORDÂ
Note that the default XMA rate for all rates above 44100Hz is 48000.
This is an inline function, refer to the xma2defs.h file for the source code.
Header: Declared in xma2defs.h.
Library: Use xaudio2.lib and acphal.lib.