diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-19 21:43:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-03 10:22:33 +0200 |
| commit | 9278232a79b8e275d144f1d1f2652f27457320e9 (patch) | |
| tree | ea829147aebefa610c95a900b173604b799d168c /test/audio_analysis_test.cc | |
| parent | d6b517f7a126be155aaad3e5271238d5e2af837b (diff) | |
Use explicit Hz value for some times.
Diffstat (limited to 'test/audio_analysis_test.cc')
| -rw-r--r-- | test/audio_analysis_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/audio_analysis_test.cc b/test/audio_analysis_test.cc index 00c09ff97..58ab6fa77 100644 --- a/test/audio_analysis_test.cc +++ b/test/audio_analysis_test.cc @@ -70,7 +70,7 @@ BOOST_AUTO_TEST_CASE (audio_analysis_serialisation_test) vector<AudioAnalysis::PeakTime> peak; for (int i = 0; i < channels; ++i) { - peak.push_back (AudioAnalysis::PeakTime(random_float(), DCPTime(rand()))); + peak.push_back (AudioAnalysis::PeakTime(random_float(), DCPTime(rand(), 96000))); } a.set_sample_peak (peak); |
