Searched refs:devicePeriod (Results 1 – 3 of 3) sorted by relevance
611 REFERENCE_TIME devicePeriod; in fix_format() local612 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()
316 REFERENCE_TIME latency, devicePeriod; in ActuallySetCurrentDevice() local318 if(SUCCEEDED(audioClient->GetDevicePeriod(&devicePeriod, NULL))){ in ActuallySetCurrentDevice()319 estimatedDelay=(int32_t)(latency/10000+devicePeriod/10000); in ActuallySetCurrentDevice()
311 REFERENCE_TIME latency, devicePeriod; in ActuallySetCurrentDevice() local313 if(SUCCEEDED(audioClient->GetDevicePeriod(&devicePeriod, NULL))){ in ActuallySetCurrentDevice()314 estimatedDelay=(int32_t)(latency/10000+devicePeriod/10000); in ActuallySetCurrentDevice()