total extinction of legacy sample mode, part 1
This commit is contained in:
parent
08e21a6298
commit
416148bd62
34 changed files with 44 additions and 437 deletions
|
|
@ -956,7 +956,6 @@ void FurnaceGUI::doAction(int what) {
|
|||
if (sample!=NULL) {
|
||||
DivWavetable* wave=e->song.wave[curWave];
|
||||
unsigned int waveLen=wave->len;
|
||||
sample->rate=(int)round(261.625565301*waveLen); // c3
|
||||
sample->centerRate=(int)round(261.625565301*waveLen); // c3
|
||||
sample->loopStart=0;
|
||||
sample->loopEnd=waveLen;
|
||||
|
|
@ -1045,7 +1044,6 @@ void FurnaceGUI::doAction(int what) {
|
|||
e->lockEngine([this,prevSample]() {
|
||||
DivSample* sample=e->getSample(curSample);
|
||||
if (sample!=NULL) {
|
||||
sample->rate=prevSample->rate;
|
||||
sample->centerRate=prevSample->centerRate;
|
||||
sample->name=prevSample->name;
|
||||
sample->loopStart=prevSample->loopStart;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue