diff options
author | Robin Gareus <robin@gareus.org> | 2019-04-08 00:29:13 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-04-08 00:29:13 +0200 |
commit | eeb2cddd26c67f31318db23cced30aa6c6340e67 (patch) | |
tree | de79a5b92e307dd52c70015c0e8d940fa2340d08 /libs/surfaces/tranzport | |
parent | 4b86d19b2744c3b6518dfe34412f84e7a48d5812 (diff) |
NO-OP: indent
Diffstat (limited to 'libs/surfaces/tranzport')
-rw-r--r-- | libs/surfaces/tranzport/tranzport_control_protocol.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/libs/surfaces/tranzport/tranzport_control_protocol.h b/libs/surfaces/tranzport/tranzport_control_protocol.h index 95def2bc6e..0b4dd15849 100644 --- a/libs/surfaces/tranzport/tranzport_control_protocol.h +++ b/libs/surfaces/tranzport/tranzport_control_protocol.h @@ -60,9 +60,9 @@ private: const static int STATUS_ONLINE = 0x01; const static int STATUS_OK = 0x00; - const static int LIGHTS = 7; - const static int ROWS = 2; - const static int COLUMNS = 20; + const static int LIGHTS = 7; + const static int ROWS = 2; + const static int COLUMNS = 20; const static uint8_t WheelDirectionThreshold = 0x7f; enum LightID { @@ -136,12 +136,12 @@ private: }; enum BlingMode { - BlingOff, - BlingKit, - BlingRotating, - BlingPairs, - BlingRows, - BlingFlashAll, + BlingOff, + BlingKit, + BlingRotating, + BlingPairs, + BlingRows, + BlingFlashAll, BlingEnter, BlingExit }; @@ -170,17 +170,17 @@ private: ARDOUR::gain_t gain_fraction; - Glib::Threads::Mutex update_lock; + Glib::Threads::Mutex update_lock; - std::bitset<ROWS*COLUMNS> screen_invalid; + std::bitset<ROWS*COLUMNS> screen_invalid; char screen_current[ROWS][COLUMNS]; char screen_pending[ROWS][COLUMNS]; char screen_flash[ROWS][COLUMNS]; - std::bitset<LIGHTS> lights_invalid; - std::bitset<LIGHTS> lights_current; - std::bitset<LIGHTS> lights_pending; - std::bitset<LIGHTS> lights_flash; + std::bitset<LIGHTS> lights_invalid; + std::bitset<LIGHTS> lights_current; + std::bitset<LIGHTS> lights_pending; + std::bitset<LIGHTS> lights_flash; int32_t last_notify; char last_notify_msg[COLUMNS+1]; @@ -193,7 +193,7 @@ private: uint32_t last_mins; uint32_t last_secs; uint32_t last_samples; - samplepos_t last_where; + samplepos_t last_where; ARDOUR::gain_t last_track_gain; uint32_t last_meter_fill; struct timeval last_wheel_motion; @@ -210,7 +210,7 @@ private: int load_config(char *name = "default"); int save(char *name); int load(char *name); - void print (int row, int col, const char* text); + void print (int row, int col, const char* text); void print_noretry (int row, int col, const char* text); void notify(const char *msg); @@ -247,10 +247,10 @@ private: // Commands to write to the lcd int lcd_init(); - bool lcd_damage(); + bool lcd_damage(); bool lcd_isdamaged(); - bool lcd_damage(int row, int col = 0, int length = COLUMNS); + bool lcd_damage(int row, int col = 0, int length = COLUMNS); bool lcd_isdamaged(int row, int col = 0, int length = COLUMNS); int lcd_flush(); |