13
0

add goto_zero() function for BasicUI

This commit is contained in:
Paul Davis 2015-11-24 23:40:54 -05:00
parent 7ae380c7f6
commit 2e3721ecf4
2 changed files with 7 additions and 0 deletions

View File

@ -99,6 +99,12 @@ BasicUI::goto_start ()
session->goto_start ();
}
void
BasicUI::goto_zero ()
{
session->request_locate (0);
}
void
BasicUI::goto_end ()
{

View File

@ -52,6 +52,7 @@ class LIBCONTROLCP_API BasicUI {
void loop_location (framepos_t start, framepos_t end);
void access_action ( std::string action_path );
static PBD::Signal2<void,std::string,std::string> AccessAction;
void goto_zero ();
void goto_start ();
void goto_end ();
void rewind ();