projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Corrected project name in header comments
[pulseview.git]
/
signaldata.cpp
diff --git
a/signaldata.cpp
b/signaldata.cpp
index fbc10133fc9ee5c88228086e3700a2a1e0d4daf6..d2573ff492a4b63c3f2b928acd2b36a5c2ee0b8d 100644
(file)
--- a/
signaldata.cpp
+++ b/
signaldata.cpp
@@
-1,5
+1,5
@@
/*
/*
- * This file is part of the
sigrok
project.
+ * This file is part of the
PulseView
project.
*
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
*
*
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
*
@@
-22,8
+22,18
@@
using namespace std;
using namespace std;
-SignalData::SignalData(
uint64_t
samplerate) :
+SignalData::SignalData(
double
samplerate) :
_samplerate(samplerate),
_start_time(0)
{
}
_samplerate(samplerate),
_start_time(0)
{
}
+
+double SignalData::get_samplerate() const
+{
+ return _samplerate;
+}
+
+double SignalData::get_start_time() const
+{
+ return _start_time;
+}
\ No newline at end of file