mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-04 16:51:37 -05:00
more whitespace
This commit is contained in:
parent
69db656239
commit
dbf38ceea8
4 changed files with 48 additions and 49 deletions
|
@ -72,24 +72,23 @@ LooperClip* Looper::getClip(int scene)
|
|||
|
||||
void Looper::beat()
|
||||
{
|
||||
//TODO needed?
|
||||
//FIXME: Need to keep looperClips in sync when there exists no int N
|
||||
// such that playSpeed*N==1
|
||||
// for(int i=0;i<NSCENES;i++)
|
||||
// {
|
||||
// int iph=clips[i]->getPlayhead()+1.0;
|
||||
// long targetFrames = clips[i]->getBeats() * fpb;
|
||||
// long actualFrames = clips[i]->getActualAudioLength();//getBufferLenght();
|
||||
// float playSpeed = 1.0;
|
||||
//TODO needed?
|
||||
//FIXME: Need to keep looperClips in sync when there exists no int N
|
||||
// such that playSpeed*N==1
|
||||
// for(int i=0;i<NSCENES;i++)
|
||||
// {
|
||||
// int iph=clips[i]->getPlayhead()+1.0;
|
||||
// long targetFrames = clips[i]->getBeats() * fpb;
|
||||
// long actualFrames = clips[i]->getActualAudioLength();//getBufferLenght();
|
||||
// float playSpeed = 1.0;
|
||||
|
||||
// if ( targetFrames != 0 && actualFrames != 0 )
|
||||
// {
|
||||
// playSpeed = float(actualFrames) / targetFrames;
|
||||
// }
|
||||
// clips[i]->setPlayHead(iph-(iph%fpb)*playSpeed);
|
||||
|
||||
// }
|
||||
// if ( targetFrames != 0 && actualFrames != 0 )
|
||||
// {
|
||||
// playSpeed = float(actualFrames) / targetFrames;
|
||||
// }
|
||||
// clips[i]->setPlayHead(iph-(iph%fpb)*playSpeed);
|
||||
|
||||
// }
|
||||
}
|
||||
|
||||
void Looper::setRequestedBuffer(int s, AudioBuffer* ab)
|
||||
|
|
Loading…
Add table
Reference in a new issue