Searched refs:recSamples (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/webrtc/modules/audio_device/win/ |
D | audio_device_wave_win.cc | 2903 int32_t AudioDeviceWindowsWave::GetRecordingBufferDelay(uint32_t& readSamples, uint32_t& recSamples) in GetRecordingBufferDelay() argument 2922 recSamples = mmtime.u.sample; // remaining time in input queue (recorded but not read yet) in GetRecordingBufferDelay() 2924 recDifference = (long) (_rec_samples_old - recSamples); in GetRecordingBufferDelay() 2949 …Warning, kTraceUtility, -1,"AEC (_rec_samples_old %d recSamples %d)",_rec_samples_old, recSamples); in GetRecordingBufferDelay() 2956 else if((_rec_samples_old > POW2(31)) && (recSamples < 96000)) { in GetRecordingBufferDelay() 2957 …ebug, kTraceUtility, -1,"WRAP 2 (_rec_samples_old %d recSamples %d)",_rec_samples_old, recSamples); in GetRecordingBufferDelay() 2960 _rec_samples_old = recSamples; in GetRecordingBufferDelay() 2962 return (int)((recSamples + POW2(32) - readSamples)/nSamplesPerMs); in GetRecordingBufferDelay() 2965 } else if((recSamples < 96000) && (readSamples > POW2(31))) { in GetRecordingBufferDelay() 2966 …E (kTraceDebug, kTraceUtility, -1,"WRAP 3 (readSamples %d recSamples %d)",readSamples, recSamples); in GetRecordingBufferDelay() [all …]
|
D | audio_device_wave_win.h | 195 int32_t GetRecordingBufferDelay(uint32_t& readSamples, uint32_t& recSamples);
|