mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 09:01:39 -05:00
-Fixed ClipSelector clear name, fixed looperclip playing on load bug
This commit is contained in:
parent
672429d916
commit
04bff4cde2
3 changed files with 14 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
|||
|
||||
-AudioEditor shows green / red based on BPM analysis of the sample
|
||||
-Clearing clips bug fixed
|
||||
-Loading bug re-trigger bug fixed
|
||||
|
||||
1.0: Tuesday, 10th December 2013
|
||||
|
||||
|
|
|
@ -72,6 +72,11 @@ void ClipSelector::setState( int clipNum, GridLogic::State s )
|
|||
//cout << "ClipSelector::setState() t = " << ID << " clipNum = " << clipNum << " state = " << s << endl;
|
||||
#endif
|
||||
clips[clipNum].setState( s );
|
||||
if ( s == GridLogic::STATE_EMPTY )
|
||||
{
|
||||
clips[clipNum].setName("");
|
||||
}
|
||||
|
||||
redraw();
|
||||
}
|
||||
|
||||
|
|
|
@ -111,6 +111,11 @@ void LooperClip::load( AudioBuffer* ab )
|
|||
{
|
||||
_loaded = true;
|
||||
_recording = false;
|
||||
_playing = false;
|
||||
|
||||
_queuePlay = false;
|
||||
_queueStop = false;
|
||||
_queueRecord= false;
|
||||
|
||||
if ( _buffer )
|
||||
{
|
||||
|
@ -121,6 +126,7 @@ void LooperClip::load( AudioBuffer* ab )
|
|||
_buffer = ab;
|
||||
|
||||
_playhead = 0;
|
||||
jack->getControllerUpdater()->setTrackSceneProgress(track, scene, 0 );
|
||||
|
||||
// set the endpoint to the buffer's size
|
||||
_recordhead = _buffer->getData().size();
|
||||
|
|
Loading…
Add table
Reference in a new issue