Searched refs:sampleInt32 (Results 1 – 1 of 1) sorted by relevance
3129 SInt32 sampleInt32 = 0; in RenderWorkerThread() local3133 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()