diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
commit | 30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch) | |
tree | 620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /libs/ardour/test/audio_region_read_test.cc | |
parent | cb956e3e480716a3efd280a5287bdd7bee1cedc5 (diff) |
globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
Diffstat (limited to 'libs/ardour/test/audio_region_read_test.cc')
-rw-r--r-- | libs/ardour/test/audio_region_read_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/test/audio_region_read_test.cc b/libs/ardour/test/audio_region_read_test.cc index c7ae50afd5..5dbe337de5 100644 --- a/libs/ardour/test/audio_region_read_test.cc +++ b/libs/ardour/test/audio_region_read_test.cc @@ -38,7 +38,7 @@ AudioRegionReadTest::readTest () int const P = 100; - /* Simple read: 256 frames from start of region, no fades */ + /* Simple read: 256 samples from start of region, no fades */ _ar[0]->set_position (P); _ar[0]->set_length (1024); @@ -50,11 +50,11 @@ AudioRegionReadTest::readTest () buf[i] = 0; } - /* Offset read: 256 frames from 128 frames into the region, no fades */ + /* Offset read: 256 samples from 128 samples into the region, no fades */ _ar[0]->read_from_sources (_ar[0]->_sources, _ar[0]->_length, buf, P + 128, 256, 0); check_staircase (buf, 128, 256); - /* Simple read with a fade-in: 256 frames from start of region, with fades */ + /* Simple read with a fade-in: 256 samples from start of region, with fades */ _ar[0]->set_default_fade_in (); CPPUNIT_ASSERT_EQUAL (double (64), _ar[0]->_fade_in->back()->when); @@ -71,7 +71,7 @@ AudioRegionReadTest::readTest () CPPUNIT_ASSERT_EQUAL (i, int (buf[i])); } - /* Offset read: 256 frames from 128 frames into the region, with fades + /* Offset read: 256 samples from 128 samples into the region, with fades (though the fade should not affect it, as it is finished before the read starts) */ |