doom_py/src/vizdoom/dumb/src/helpers/resamp2.inc [111:140]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	if ( volume_left ) { \
		lvolr = xs_FloorToInt(volume_left->volume * 16777216.f); \
		lvold = xs_FloorToInt(volume_left->delta * 16777216.f); \
		lvolt = xs_FloorToInt(volume_left->target * 16777216.f); \
		lvolm = xs_FloorToInt(volume_left->mix * 16777216.f); \
		lvol = MULSCV( lvolr, lvolm ); \
		if ( lvolr == lvolt ) volume_left = NULL; \
	} else { \
		lvol = 0; \
		lvold = 0; \
		lvolt = 0; \
		lvolm = 0; \
	} \
	if ( volume_right ) { \
		rvolr = xs_FloorToInt(volume_right->volume * 16777216.f); \
		rvold = xs_FloorToInt(volume_right->delta * 16777216.f); \
		rvolt = xs_FloorToInt(volume_right->target * 16777216.f); \
		rvolm = xs_FloorToInt(volume_right->mix * 16777216.f); \
		rvol = MULSCV( rvolr, rvolm ); \
		if ( rvolr == rvolt ) volume_right = NULL; \
	} else { \
		rvol = 0; \
		rvold = 0; \
		rvolt = 0; \
		rvolm = 0; \
	} \
}
#define RETURN_VOLUME_VARIABLES { \
	if ( volume_left ) volume_left->volume = (float)lvolr / 16777216.0f; \
	if ( volume_right ) volume_right->volume = (float)rvolr / 16777216.0f; \
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



doom_py/src/vizdoom/dumb/src/helpers/resample.inc [202:231]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	if ( volume_left ) { \
		lvolr = xs_FloorToInt(volume_left->volume * 16777216.f); \
		lvold = xs_FloorToInt(volume_left->delta * 16777216.f); \
		lvolt = xs_FloorToInt(volume_left->target * 16777216.f); \
		lvolm = xs_FloorToInt(volume_left->mix * 16777216.f); \
		lvol = MULSCV( lvolr, lvolm ); \
		if ( lvolr == lvolt ) volume_left = NULL; \
	} else { \
		lvol = 0; \
		lvold = 0; \
		lvolt = 0; \
		lvolm = 0; \
	} \
	if ( volume_right ) { \
		rvolr = xs_FloorToInt(volume_right->volume * 16777216.f); \
		rvold = xs_FloorToInt(volume_right->delta * 16777216.f); \
		rvolt = xs_FloorToInt(volume_right->target * 16777216.f); \
		rvolm = xs_FloorToInt(volume_right->mix * 16777216.f); \
		rvol = MULSCV( rvolr, rvolm ); \
		if ( rvolr == rvolt ) volume_right = NULL; \
	} else { \
		rvol = 0; \
		rvold = 0; \
		rvolt = 0; \
		rvolm = 0; \
	} \
}
#define RETURN_MONO_DEST_VOLUME_VARIABLES { \
	if ( volume_left ) volume_left->volume = (float)lvolr / 16777216.0f; \
	if ( volume_right ) volume_right->volume = (float)rvolr / 16777216.0f; \
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



