mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Fix BPM button text display on Windows
This commit is contained in:
parent
fc4e42662d
commit
03f63d4463
1 changed files with 1 additions and 1 deletions
|
|
@ -1274,7 +1274,7 @@ AudioClock::set_bbt (samplepos_t when, samplecnt_t offset, bool /*force*/)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
snprintf (buf, sizeof(buf), "1/%.0f = %.3f", m.tempo().note_type(), _session->tempo_map().tempo_at_sample (pos).note_types_per_minute());
|
snprintf (buf, sizeof(buf), "1/%.0f = %.3f", m.tempo().note_type(), _session->tempo_map().tempo_at_sample (pos).note_types_per_minute());
|
||||||
_right_btn.set_text (buf, false);
|
_left_btn.set_text (buf, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
snprintf (buf, sizeof(buf), "%g/%g", m.meter().divisions_per_bar(), m.meter().note_divisor());
|
snprintf (buf, sizeof(buf), "%g/%g", m.meter().divisions_per_bar(), m.meter().note_divisor());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue