mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 17:11:40 -05:00
restyle trackoutput
This commit is contained in:
parent
a2e154a8be
commit
504e5bf1a9
1 changed files with 12 additions and 13 deletions
|
@ -156,8 +156,7 @@ void TrackOutput::process(unsigned int nframes, Buffers* buffers)
|
||||||
if(_toMasterPan <= 0) {
|
if(_toMasterPan <= 0) {
|
||||||
// pan to left channel, lower right one
|
// pan to left channel, lower right one
|
||||||
pan_r = _toMasterPan + 1.0f;
|
pan_r = _toMasterPan + 1.0f;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// pan to right channel, lower left one
|
// pan to right channel, lower left one
|
||||||
pan_l = (_toMasterPan * -1) + 1.0f;
|
pan_l = (_toMasterPan * -1) + 1.0f;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue