Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Creates an instance of the IXAPO interface for head-related transfer function (HRTF) processing.
Syntax
HRESULT CreateHrtfApo(
[in] const HrtfApoInit *init,
[out] IXAPO **xApo
);
Parameters
[in] init
Pointer to an HrtfApoInit struct. Specifies parameters for XAPO interface initialization.
[out] xApo
The new instance of the IXAPO interface.
Return value
This function can return the following values.
| Return code | Description |
|---|---|
|
An instance of the XAPO object was created successfully. |
|
HRTF is not supported on the current platform. |
Remarks
Audio is processed in blocks of 1024 samples.
Format requirements:
- Input: mono, 48 kHz, 32-bit float PCM.
- Output: stereo, 48 kHz, 32-bit float PCM.
Platform Requirements
Windows 10 (XAudio2.9);Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | hrtfapoapi.h |
| Library | hrtfapo.lib |
| DLL | HrtfApo.dll |