Home
last modified time | relevance | path

Searched refs:writtenSamples (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_wave_win.cc2677 int32_t AudioDeviceWindowsWave::GetPlayoutBufferDelay(uint32_t& writtenSamples, uint32_t& playedSam… in GetPlayoutBufferDelay() argument
2705 writtenSamples = _writtenSamples; // #samples written to the playout buffer in GetPlayoutBufferDelay()
2709 msecInPlayoutBuffer = ((writtenSamples - playedSamples)/nSamplesPerMs); in GetPlayoutBufferDelay()
2736 writtenSamples = _writtenSamples; in GetPlayoutBufferDelay()
2737 msecInPlayoutBuffer = ((writtenSamples - playedSamples)/nSamplesPerMs); in GetPlayoutBufferDelay()
2740 else if ((_writtenSamplesOld > POW2(31)) && (writtenSamples < 96000)) in GetPlayoutBufferDelay()
2752 _writtenSamplesOld = writtenSamples; in GetPlayoutBufferDelay()
2754 msecInPlayoutBuffer = (int)((writtenSamples + POW2(i + 1) - playedSamples)/nSamplesPerMs); in GetPlayoutBufferDelay()
2757 else if ((writtenSamples < 96000) && (playedSamples > POW2(31))) in GetPlayoutBufferDelay()
2765 _writtenSamplesOld = writtenSamples; in GetPlayoutBufferDelay()
[all …]
Daudio_device_wave_win.h194 int32_t GetPlayoutBufferDelay(uint32_t& writtenSamples, uint32_t& playedSamples);