UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Audio::FWasapiAudioUtils Class Reference

#include <WasapiAudioUtils.h>

Static Public Member Functions

static UE_API REFERENCE_TIME FramesToRefTime (const uint32 InNumFrames, const uint32 InSampleRate)
 
static UE_API uint64 RefTimeToFrames (const REFERENCE_TIME InRefTime, const uint32 InSampleRate)
 

Detailed Description

FWasapiAudioUtils - WASAPI utility class

Member Function Documentation

◆ FramesToRefTime()

REFERENCE_TIME Audio::FWasapiAudioUtils::FramesToRefTime ( const uint32  InNumFrames,
const uint32  InSampleRate 
)
static

FramesToRefTime - Converts a given number of frames at the given sample rate to REFERENCE_TIME.

◆ RefTimeToFrames()

uint64 Audio::FWasapiAudioUtils::RefTimeToFrames ( const REFERENCE_TIME  InRefTime,
const uint32  InSampleRate 
)
static

RefTimeToFrames - Converts the given REFERENCE_TIME to a number of frames at the given sample rate.


The documentation for this class was generated from the following files: