Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/audio_device/mac/
Daudio_device_mac.cc3129 SInt32 sampleInt32 = 0; in RenderWorkerThread() local
3133 sampleInt32 = pPlayBuffer[sampleIdx]; in RenderWorkerThread()
3134 sampleInt32 += pPlayBuffer[sampleIdx + 1]; in RenderWorkerThread()
3135 sampleInt32 /= 2; in RenderWorkerThread()
3137 if (sampleInt32 > 32767) in RenderWorkerThread()
3139 sampleInt32 = 32767; in RenderWorkerThread()
3140 } else if (sampleInt32 < -32768) in RenderWorkerThread()
3142 sampleInt32 = -32768; in RenderWorkerThread()
3146 pPlayBuffer[sampleIdx + 1] = static_cast<SInt16> (sampleInt32); in RenderWorkerThread()