Home
last modified time | relevance | path

Searched refs:devicePeriod (Results 1 – 3 of 3) sorted by relevance

/dports/multimedia/mpv/mpv-0.34.1/audio/out/
H A Dao_wasapi_utils.c611 REFERENCE_TIME devicePeriod; in fix_format() local
612 HRESULT hr = IAudioClient_GetDevicePeriod(state->pAudioClient,&devicePeriod, in fix_format()
615 (double) devicePeriod / 10000.0 ); in fix_format()
617 REFERENCE_TIME bufferDuration = devicePeriod; in fix_format()
620 bufferDuration = devicePeriod * ceil(50.0 * 10000.0 / devicePeriod); in fix_format()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/libtgvoip/os/windows/
H A DAudioInputWASAPI.cpp316 REFERENCE_TIME latency, devicePeriod; in ActuallySetCurrentDevice() local
318 if(SUCCEEDED(audioClient->GetDevicePeriod(&devicePeriod, NULL))){ in ActuallySetCurrentDevice()
319 estimatedDelay=(int32_t)(latency/10000+devicePeriod/10000); in ActuallySetCurrentDevice()
H A DAudioOutputWASAPI.cpp311 REFERENCE_TIME latency, devicePeriod; in ActuallySetCurrentDevice() local
313 if(SUCCEEDED(audioClient->GetDevicePeriod(&devicePeriod, NULL))){ in ActuallySetCurrentDevice()
314 estimatedDelay=(int32_t)(latency/10000+devicePeriod/10000); in ActuallySetCurrentDevice()