add preset buttons (use macro) + change name of MONO channel pseudo-gain - release

This commit is contained in:
Philippe G
2021-02-10 23:52:53 -08:00
parent ee35e1dc99
commit ed00f029a6
4 changed files with 34 additions and 166 deletions

View File

@@ -254,8 +254,8 @@ frames_t _output_frames(frames_t avail) {
out_frames = !silence ? min(size, cont_frames) : size;
if (output.channels & 0x01) gainR = MONO_MUTED;
else if (output.channels & 0x02) gainL = MONO_MUTED;
if (output.channels & 0x01) gainR = COPY_MONO;
else if (output.channels & 0x02) gainL = COPY_MONO;
wrote = output.write_cb(out_frames, silence, gainL, gainR, cross_gain_in, cross_gain_out, &cross_ptr);