summaryrefslogtreecommitdiff
path: root/tools/sftest.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
commit30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch)
tree620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /tools/sftest.cc
parentcb956e3e480716a3efd280a5287bdd7bee1cedc5 (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 'tools/sftest.cc')
-rw-r--r--tools/sftest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/sftest.cc b/tools/sftest.cc
index 0823277c60..aa9412cfa0 100644
--- a/tools/sftest.cc
+++ b/tools/sftest.cc
@@ -252,7 +252,7 @@ main (int argc, char* argv[])
cout << " all used " << (direct ? "without" : "with") << " OS buffer cache";
#endif
cout << endl;
- cout << "Format is " << suffix << ' ' << channels << " channel" << (channels > 1 ? "s" : "") << " written in chunks of " << block_size << " frames, synced ? " << (with_sync ? "yes" : "no") << endl;
+ cout << "Format is " << suffix << ' ' << channels << " channel" << (channels > 1 ? "s" : "") << " written in chunks of " << block_size << " samples, synced ? " << (with_sync ? "yes" : "no") << endl;
}
data = new float[block_size*channels];
@@ -286,7 +286,7 @@ main (int argc, char* argv[])
min_bandwidth = min (min_bandwidth, bandwidth);
if (!quiet) {
- cout << "BW @ " << written << " frames (" << ds.str() << " minutes) = " << (bandwidth/1048576.0) << " MB/sec " << bandwidth / data_rate << " x faster than necessary " << endl;
+ cout << "BW @ " << written << " samples (" << ds.str() << " minutes) = " << (bandwidth/1048576.0) << " MB/sec " << bandwidth / data_rate << " x faster than necessary " << endl;
}
}