Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_wave_win.cc2684 …const uint16_t nSamplesPerMs = (uint16_t)(N_PLAY_SAMPLES_PER_SEC/1000); // default is 48000/1000 … in GetPlayoutBufferDelay() local
2709 msecInPlayoutBuffer = ((writtenSamples - playedSamples)/nSamplesPerMs); in GetPlayoutBufferDelay()
2737 msecInPlayoutBuffer = ((writtenSamples - playedSamples)/nSamplesPerMs); in GetPlayoutBufferDelay()
2754 msecInPlayoutBuffer = (int)((writtenSamples + POW2(i + 1) - playedSamples)/nSamplesPerMs); in GetPlayoutBufferDelay()
2767 msecInPlayoutBuffer = (int)((writtenSamples + POW2(32) - playedSamples)/nSamplesPerMs); in GetPlayoutBufferDelay()
2909 …const uint16_t nSamplesPerMs = (uint16_t)(N_REC_SAMPLES_PER_SEC/1000); // default is 48000/1000 =… in GetRecordingBufferDelay() local
2962 return (int)((recSamples + POW2(32) - readSamples)/nSamplesPerMs); in GetRecordingBufferDelay()
2973 return (int)((recSamples + POW2(32) - readSamples)/nSamplesPerMs); in GetRecordingBufferDelay()
2978 int res=(((int)_rec_samples_old - (int)_read_samples_old)/nSamplesPerMs); in GetRecordingBufferDelay()