Searched refs:playedSamples (Results 1 – 2 of 2) sorted by relevance
2677 …_t AudioDeviceWindowsWave::GetPlayoutBufferDelay(uint32_t& writtenSamples, uint32_t& playedSamples) in GetPlayoutBufferDelay() argument2691 playedSamples = 0; in GetPlayoutBufferDelay()2706 playedSamples = mmtime.u.sample; // current playout position in the playout buffer in GetPlayoutBufferDelay()2709 msecInPlayoutBuffer = ((writtenSamples - playedSamples)/nSamplesPerMs); in GetPlayoutBufferDelay()2711 playedDifference = (long) (_playedSamplesOld - playedSamples); in GetPlayoutBufferDelay()2737 msecInPlayoutBuffer = ((writtenSamples - playedSamples)/nSamplesPerMs); in GetPlayoutBufferDelay()2753 _playedSamplesOld = playedSamples; in GetPlayoutBufferDelay()2754 msecInPlayoutBuffer = (int)((writtenSamples + POW2(i + 1) - playedSamples)/nSamplesPerMs); in GetPlayoutBufferDelay()2757 else if ((writtenSamples < 96000) && (playedSamples > POW2(31))) in GetPlayoutBufferDelay()2766 _playedSamplesOld = playedSamples; in GetPlayoutBufferDelay()[all …]
194 int32_t GetPlayoutBufferDelay(uint32_t& writtenSamples, uint32_t& playedSamples);