aboutsummaryrefslogtreecommitdiff
path: root/sensor
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-03-22 18:14:45 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-03-22 18:14:45 +0100
commitec15f36073b77375a06457c423d9a56245aa9dfc (patch)
treecfaeff2569701df5bd096c9128fa987fc258407c /sensor
parent6bac290b92b635be047237b880144dbc163df6ec (diff)
downloadble-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 'sensor')
-rw-r--r--sensor/include/trygvis/sensor/io.h3
-rw-r--r--sensor/main/io.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/sensor/include/trygvis/sensor/io.h b/sensor/include/trygvis/sensor/io.h
index 7db7615..2cace70 100644
--- a/sensor/include/trygvis/sensor/io.h
+++ b/sensor/include/trygvis/sensor/io.h
@@ -179,8 +179,7 @@ public:
string name;
};
-// TODO: rename to open_sample_stream_parser
-unique_ptr<SampleStreamParser> open_sample_input_stream(
+unique_ptr<SampleStreamParser> open_sample_stream_parser(
shared_ptr<SampleOutputStream> output,
KeyDictionary &dict,
sample_format_type type = sample_format_type::AUTO);
diff --git a/sensor/main/io.cpp b/sensor/main/io.cpp
index 18040f1..4837414 100644
--- a/sensor/main/io.cpp
+++ b/sensor/main/io.cpp
@@ -360,7 +360,7 @@ void AutoSampleParser::process(mutable_buffers_1 buffer) {
}
}
-unique_ptr<SampleStreamParser> open_sample_input_stream(
+unique_ptr<SampleStreamParser> open_sample_stream_parser(
shared_ptr<SampleOutputStream> output,
KeyDictionary &dict,
sample_format_type type) {