| #define | NOMINMAX |
| #define | OVR_AUDIO_MAX_DEVICE_STR_SIZE |
| ovrResult | ovr_GetAudioDeviceOutWaveId ( UINT * deviceOutId ) Gets the ID of the preferred VR audio output device. |
| ovrResult | ovr_GetAudioDeviceInWaveId ( UINT * deviceInId ) Gets the ID of the preferred VR audio input device. |
| ovrResult | ovr_GetAudioDeviceOutGuidStr ( WCHAR deviceOutStrBuffer ) Gets the GUID of the preferred VR audio device as a string. |
| ovrResult | ovr_GetAudioDeviceOutGuid ( GUID * deviceOutGuid ) Gets the GUID of the preferred VR audio device. |
| ovrResult | ovr_GetAudioDeviceInGuidStr ( WCHAR deviceInStrBuffer ) Gets the GUID of the preferred VR microphone device as a string. |
| ovrResult | ovr_GetAudioDeviceInGuid ( GUID * deviceInGuid ) Gets the GUID of the preferred VR microphone device. |
/********************************************************************************/ #ifndef OVR_CAPI_Audio_h #define OVR_CAPI_Audio_h #ifdef _WIN32 // Prevents <Windows.h> from defining min() and max() macro symbols. #ifndef NOMINMAX #define NOMINMAX #endif #include <windows.h> #include "OVR_CAPI.h" #define OVR_AUDIO_MAX_DEVICE_STR_SIZE 128 #if !defined(OVR_EXPORTING_CAPI) OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetAudioDeviceOutWaveId(UINT* deviceOutId); OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetAudioDeviceInWaveId(UINT* deviceInId); OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetAudioDeviceOutGuidStr(WCHAR deviceOutStrBuffer[OVR_AUDIO_MAX_DEVICE_STR_SIZE]); OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetAudioDeviceOutGuid(GUID* deviceOutGuid); OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetAudioDeviceInGuidStr(WCHAR deviceInStrBuffer[OVR_AUDIO_MAX_DEVICE_STR_SIZE]); OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetAudioDeviceInGuid(GUID* deviceInGuid); #endif // !defined(OVR_EXPORTING_CAPI) #endif // OVR_OS_MS #endif // OVR_CAPI_Audio_h