diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-21 01:15:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-21 01:15:32 +0100 |
| commit | e60bb3e51bd1508b149e6b8f6608f09b5196ae26 (patch) | |
| tree | a7a5b937c9ae138d4eebca8d5130d308bf9ae420 /test/audio_decoder_test.cc | |
| parent | f07d5125a7b609320682689abe40781f096ca25e (diff) | |
No-op: remove all trailing whitespace.
Diffstat (limited to 'test/audio_decoder_test.cc')
| -rw-r--r-- | test/audio_decoder_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/audio_decoder_test.cc b/test/audio_decoder_test.cc index cd86b73e7..6816c1fbb 100644 --- a/test/audio_decoder_test.cc +++ b/test/audio_decoder_test.cc @@ -49,7 +49,7 @@ public: DCPTime full_length () const { return DCPTime::from_seconds (float (audio_length()) / audio_stream()->frame_rate ()); } - + Frame audio_length () const { return rint (61.2942 * audio_stream()->frame_rate ()); } @@ -125,7 +125,7 @@ BOOST_AUTO_TEST_CASE (audio_decoder_get_audio_test) content.reset (new TestAudioContent (film)); decoder.reset (new TestAudioDecoder (content)); - + /* Simple reads */ check (0, 48000); check (44, 9123); @@ -136,7 +136,7 @@ BOOST_AUTO_TEST_CASE (audio_decoder_get_audio_test) Frame const from = content->resampled_audio_frame_rate() * 61; Frame const length = content->resampled_audio_frame_rate() * 4; ContentAudio ca = get (from, length); - + for (int i = 0; i < content->audio_stream()->channels(); ++i) { for (int j = 0; j < ca.audio->frames(); ++j) { BOOST_REQUIRE_EQUAL (ca.audio->data(i)[j], j + from); |
