summaryrefslogtreecommitdiff
path: root/test/sound_asset_writer_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-02 18:23:36 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-02 18:23:36 +0200
commit7d9e108ba3629b2e9120bc1da3354935c41aca37 (patch)
treec8ffdb2bca75d62bfe9fa2262e9fc4cd19c45027 /test/sound_asset_writer_test.cc
parent6f98afd8021f9475bbd342bdcb39162b3167fa9e (diff)
WIP: more hacks.shared-ptr
Diffstat (limited to 'test/sound_asset_writer_test.cc')
-rw-r--r--test/sound_asset_writer_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sound_asset_writer_test.cc b/test/sound_asset_writer_test.cc
index d5a66489..ee70c80c 100644
--- a/test/sound_asset_writer_test.cc
+++ b/test/sound_asset_writer_test.cc
@@ -64,7 +64,7 @@ no_padding_test(boost::filesystem::path path, std::function<void (shared_ptr<dcp
for (auto channel = 0; channel < 6; ++channel) {
for (auto sample = 0; sample < 2000; ++sample) {
- BOOST_REQUIRE_EQUAL(frame->get(channel, sample), dist(rng));
+ BOOST_REQUIRE_EQUAL(frame.get(channel, sample), dist(rng));
}
}
}
@@ -135,13 +135,13 @@ padding_test(boost::filesystem::path path, std::function<void (shared_ptr<dcp::S
for (auto channel = 0; channel < 6; ++channel) {
for (auto sample = 0; sample < 2000; ++sample) {
- BOOST_REQUIRE_EQUAL(frame->get(channel, sample), dist(rng));
+ BOOST_REQUIRE_EQUAL(frame.get(channel, sample), dist(rng));
}
}
for (auto channel = 7; channel < 14; ++channel) {
for (auto sample = 0; sample < 2000; ++sample) {
- BOOST_REQUIRE_EQUAL(frame->get(channel, sample), 0);
+ BOOST_REQUIRE_EQUAL(frame.get(channel, sample), 0);
}
}
}