Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change play stop to play pause symbols and test midi support to transport button #306

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/controller/controller.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public:
virtual void masterVolume(float f) {}
virtual void masterReturnVolume(float f) {}
virtual void metronomeEnable(bool b) {}
virtual void EventTransportState(bool b) {} // add play pause to midi controller?

/// FX
virtual void trackSend(int t, int send, float v) {}
Expand Down
4 changes: 2 additions & 2 deletions src/gmastertrack.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ static void gmastertrack_transport_callback(Fl_Widget *w, void *data)
if( b->value() ) {
EventTransportState e = EventTransportState( TRANSPORT_ROLLING );
writeToDspRingbuffer( &e );
w->label( "Stop" );
w->label( "@#||" ); // Changed stop to pause symbol
b->value( 0 );
} else {
EventTransportState e = EventTransportState( TRANSPORT_STOPPED );
writeToDspRingbuffer( &e );
w->label( "Play" );
w->label( "@#>" ); // play symbol
b->value( 1 );
}

Expand Down