add sample preview volume setting
it was too loud
This commit is contained in:
parent
41bd28c41a
commit
41544bcced
5 changed files with 31 additions and 2 deletions
|
|
@ -2202,7 +2202,7 @@ void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsi
|
|||
} else if (srcPortSet==0xffd) {
|
||||
// sample preview
|
||||
for (size_t j=0; j<size; j++) {
|
||||
out[destSubPort][j]+=samp_bbOut[j]/32768.0;
|
||||
out[destSubPort][j]+=previewVol*(samp_bbOut[j]/32768.0);
|
||||
}
|
||||
} else if (srcPortSet==0xffe && playing && !halted) {
|
||||
// metronome
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue