Definition at line 316 of file wave_simulation.cpp.
316 {
318 if (
mSim->getHalfDuplex()) {
319 u16 v2 = static_cast<u16>(value);
325 }
326 }
327 return static_cast<u8>(((
static_cast<u16
>(value) + 32768)) >> 8);
328}
fl::unique_ptr< WaveSimulation1D_Real > mSim
i16 geti16(fl::size x) const
fl::u8 half_duplex_blend_sqrt_q15(fl::u16 x)
fl::u8 half_duplex_blend_linear(fl::u16 x)
References geti16(), mSim, mU8Mode, fl::WAVE_U8_MODE_LINEAR, fl::WAVE_U8_MODE_SQRT, and x.