diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-22 18:14:45 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-22 18:14:45 +0100 |
commit | ec15f36073b77375a06457c423d9a56245aa9dfc (patch) | |
tree | cfaeff2569701df5bd096c9128fa987fc258407c /apps/sample-timestamp.cpp | |
parent | 6bac290b92b635be047237b880144dbc163df6ec (diff) | |
download | ble-toys-ec15f36073b77375a06457c423d9a56245aa9dfc.tar.gz ble-toys-ec15f36073b77375a06457c423d9a56245aa9dfc.tar.bz2 ble-toys-ec15f36073b77375a06457c423d9a56245aa9dfc.tar.xz ble-toys-ec15f36073b77375a06457c423d9a56245aa9dfc.zip |
o Renaming open_sample_input_stream to open_sample_stream_parser.
Diffstat (limited to 'apps/sample-timestamp.cpp')
-rw-r--r-- | apps/sample-timestamp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sample-timestamp.cpp b/apps/sample-timestamp.cpp index 2fde1b6..85431ae 100644 --- a/apps/sample-timestamp.cpp +++ b/apps/sample-timestamp.cpp @@ -125,7 +125,7 @@ public: relative_key = dict.indexOf(relative_name); auto sample_buffer = make_shared<VectorSampleOutputStream>(); - auto parser = open_sample_input_stream(sample_buffer, dict); + auto parser = open_sample_stream_parser(sample_buffer, dict); while (!input.fail()) { char buffer[buffer_size]; input.read(buffer, buffer_size); @@ -182,7 +182,7 @@ public: unique_ptr<SampleOutputStream> unique_output_stream = open_sample_output_stream(shared_ptr<ostream>(&cout, noop_deleter), dict, parser->type(), options); shared_ptr<SampleOutputStream> output_stream{std::move(unique_output_stream)}; shared_ptr<SampleOutputStream> p = make_shared<TimestampFixingSampleOutputStream>(output_stream, dict, timestamp_name, relative_name, relative_resolution, start_time); - parser = open_sample_input_stream(p, dict, parser->type()); + parser = open_sample_stream_parser(p, dict, parser->type()); int recordCount = 0; |