summaryrefslogtreecommitdiff
path: root/libs/surfaces/websockets/globals.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-02-23 16:03:59 +0100
committerRobin Gareus <robin@gareus.org>2020-02-23 16:21:55 +0100
commit5e3480ba8f3dfd5368f323322de7eb79fcf8f97a (patch)
tree71a75edc24ebce9a6a6f9827f05a57488c43a2b9 /libs/surfaces/websockets/globals.cc
parent224be912112941199fc8c2ff79518d2d2a2262d0 (diff)
NO-OP: Re-indent websockets code
"Always use Tabstops for block-indent (the code must be formatted correctly with "[TAB] = N spaces" for any value of N). Use space only for alignment." - https://ardour.org/styleguide.html
Diffstat (limited to 'libs/surfaces/websockets/globals.cc')
-rw-r--r--libs/surfaces/websockets/globals.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/surfaces/websockets/globals.cc b/libs/surfaces/websockets/globals.cc
index decd9ad6c2..4a78475350 100644
--- a/libs/surfaces/websockets/globals.cc
+++ b/libs/surfaces/websockets/globals.cc
@@ -25,15 +25,15 @@ using namespace ARDOUR;
double
ArdourGlobals::tempo () const
{
- Tempo tempo = session ().tempo_map ().tempo_at_sample (0);
- return tempo.note_type () * tempo.pulses_per_minute ();
+ Tempo tempo = session ().tempo_map ().tempo_at_sample (0);
+ return tempo.note_type () * tempo.pulses_per_minute ();
}
void
ArdourGlobals::set_tempo (double bpm)
{
- bpm = max (0.01, bpm);
- TempoMap& tempo_map = session ().tempo_map ();
- Tempo tempo (bpm, tempo_map.tempo_at_sample (0).note_type (), bpm);
- tempo_map.add_tempo (tempo, 0.0, 0, AudioTime);
+ bpm = max (0.01, bpm);
+ TempoMap& tempo_map = session ().tempo_map ();
+ Tempo tempo (bpm, tempo_map.tempo_at_sample (0).note_type (), bpm);
+ tempo_map.add_tempo (tempo, 0.0, 0, AudioTime);
}