Commit 04bff4cd authored by Harry van Haaren's avatar Harry van Haaren

-Fixed ClipSelector clear name, fixed looperclip playing on load bug

parent 672429d9
-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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment