summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaslersn <sebastian.hasler@gmx.net>2020-05-26 21:24:11 +0200
committerAdam Szmigin <smidge@xsco.net>2020-05-27 22:58:20 +0100
commitffcc5df32d4adc64d97b6fdd2d269aebfb313549 (patch)
tree825a4d3c54005bbbd3e2c53bd396c758c738def0
parent76decf181ad65f916794461796ee03d9ba5b5746 (diff)
Inline is not needed in source files
-rw-r--r--src/djinterop/enginelibrary/el_track_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/djinterop/enginelibrary/el_track_impl.cpp b/src/djinterop/enginelibrary/el_track_impl.cpp
index a166d08..fe1ddca 100644
--- a/src/djinterop/enginelibrary/el_track_impl.cpp
+++ b/src/djinterop/enginelibrary/el_track_impl.cpp
@@ -65,7 +65,7 @@ boost::optional<int64_t> to_timestamp(
/// to multiples of a particular "quantisation number", that is equal to
/// the sample rate divided by 105, and then rounded to the nearest
/// multiple of two.
-inline int64_t quantisation_number(int64_t sample_rate)
+int64_t quantisation_number(int64_t sample_rate)
{
return (sample_rate / 210) * 2;
}
@@ -75,7 +75,7 @@ inline int64_t quantisation_number(int64_t sample_rate)
/// An overview waveform always has 1024 entries, and the number of samples
/// that each one represents must be calculated from the true sample count by
/// rounding the number of samples to the quantisation number first.
-inline int64_t calculate_overview_waveform_samples_per_entry(
+int64_t calculate_overview_waveform_samples_per_entry(
int64_t sample_rate, int64_t sample_count)
{
auto qn = quantisation_number(sample_rate);