You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
project-kyoku/core/shared/core/bpmsection.h

19 lines
311 B
C

#pragma once
#include "tools/mathutils.h"
struct BPMSection
{
int bpm = 0;
int fraction = 1;
microsec offset_start = 0;
};
struct BPMSectionCompt
{
bool operator()(const BPMSection& lhs, const BPMSection& rhs) const noexcept
{
return lhs.offset_start < rhs.offset_start;
}
};