#include "guicontroller.hxx" #include #include "../jack.hxx" #include "../event.hxx" #include "../gridlogic.hxx" extern Jack* jack; LupppGUI::LupppGUI() : Controller() { } void LupppGUI::masterVolume(float f) { EventTrackVol e( -1, f ); writeToGuiRingbuffer( &e ); } void LupppGUI::recordArm(int t, bool enabled) { } void LupppGUI::trackSend(int t, int send, float r) { EventTrackSend e( t, static_cast(send), r ); writeToGuiRingbuffer( &e ); } void LupppGUI::setSceneState(int t, int clip, GridLogic::State s) { EventGridState e( t, clip, s ); writeToGuiRingbuffer( &e ); } void LupppGUI::mute(int t, bool b) { } void LupppGUI::tapTempo( bool b ) { EventTimeTempoTap e(b); writeToGuiRingbuffer( &e ); } void LupppGUI::volume(int t, float f) { EventTrackVol e( t, f ); writeToGuiRingbuffer( &e ); } void LupppGUI::progress(int t, int s, float f) { EventLooperProgress e( t, f ); writeToGuiRingbuffer( &e ); }