mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 09:01:39 -05:00
-Fixed session load resampling
This commit is contained in:
parent
d0e5951bfc
commit
7600c60f83
2 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ int DiskReader::loadSample( int track, int scene, string path )
|
|||
{
|
||||
LUPPP_NOTE("%s%i%s%i", "Resampling from ", infile.samplerate(), " to ", gui->samplerate);
|
||||
|
||||
float resampleRatio = infile.samplerate() / float(gui->samplerate);
|
||||
float resampleRatio = float(gui->samplerate) / infile.samplerate();
|
||||
std::vector<float> resampled( infile.frames() * resampleRatio );
|
||||
|
||||
SRC_DATA data;
|
||||
|
|
|
@ -255,7 +255,7 @@ void LooperClip::bar()
|
|||
|
||||
if ( _queuePlay && _loaded )
|
||||
{
|
||||
LUPPP_NOTE("QPLay + loaded" );
|
||||
//LUPPP_NOTE("QPLay + loaded" );
|
||||
_playing = true;
|
||||
s = GridLogic::STATE_PLAYING;
|
||||
_recording = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue