mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-06 01:21:38 -05:00
-Added FIXME notes
This commit is contained in:
parent
ac0741fd72
commit
cd7336947f
3 changed files with 23 additions and 0 deletions
|
@ -21,6 +21,7 @@ class AudioBuffer
|
||||||
}
|
}
|
||||||
AudioBuffer(unsigned long size)
|
AudioBuffer(unsigned long size)
|
||||||
{
|
{
|
||||||
|
// FIXME recorded buffers don't get an ID, using garbage IDs
|
||||||
/// no ID assigned: it *takes* the one from the previous buffer!
|
/// no ID assigned: it *takes* the one from the previous buffer!
|
||||||
numBeats = 0;
|
numBeats = 0;
|
||||||
audioFrames = 0;
|
audioFrames = 0;
|
||||||
|
|
|
@ -50,6 +50,27 @@ void LooperClip::save()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void LooperClip::reset()
|
||||||
|
{
|
||||||
|
// TODO make the LooperClip reset to initial state
|
||||||
|
/*
|
||||||
|
if ( _loaded )
|
||||||
|
{
|
||||||
|
char buffer [50];
|
||||||
|
sprintf (buffer, "LC::save() track %i, scene %i", track,scene);
|
||||||
|
EventGuiPrint e( buffer );
|
||||||
|
writeToGuiRingbuffer( &e );
|
||||||
|
|
||||||
|
EventRequestSaveBuffer e2( track, scene, _buffer->getAudioFrames() );
|
||||||
|
writeToGuiRingbuffer( &e2 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SaveAble::done();
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
/// loads a sample: eg from disk, unloading current sample if necessary
|
/// loads a sample: eg from disk, unloading current sample if necessary
|
||||||
void LooperClip::load( AudioBuffer* ab )
|
void LooperClip::load( AudioBuffer* ab )
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,6 +44,7 @@ class LooperClip : public SaveAble
|
||||||
|
|
||||||
/// SaveAble overrides
|
/// SaveAble overrides
|
||||||
void save();
|
void save();
|
||||||
|
void reset();
|
||||||
|
|
||||||
/// analyses current _playing _recording vars, returns the current State
|
/// analyses current _playing _recording vars, returns the current State
|
||||||
GridLogic::State getState();
|
GridLogic::State getState();
|
||||||
|
|
Loading…
Add table
Reference in a new issue