summaryrefslogtreecommitdiff
path: root/gr-analog/lib/fastnoise_source_X_impl.h.t
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-02-26 13:14:39 -0500
committerTom Rondeau <trondeau@vt.edu>2013-02-26 13:14:39 -0500
commit70904eb3086578ac44167a90621108fa98a01e78 (patch)
treee17ff0a233e8039318bee71bd5fa2238d902fe97 /gr-analog/lib/fastnoise_source_X_impl.h.t
parentd0d1348a08db382e1497e4a929f2ec22b35b8f0a (diff)
analog: adding mutex locking when updating the fastnoise source parameters.
Diffstat (limited to 'gr-analog/lib/fastnoise_source_X_impl.h.t')
-rw-r--r--gr-analog/lib/fastnoise_source_X_impl.h.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-analog/lib/fastnoise_source_X_impl.h.t b/gr-analog/lib/fastnoise_source_X_impl.h.t
index 7a0f792683..3c5dc106a2 100644
--- a/gr-analog/lib/fastnoise_source_X_impl.h.t
+++ b/gr-analog/lib/fastnoise_source_X_impl.h.t
@@ -43,8 +43,8 @@ namespace gr {
@IMPL_NAME@(noise_type_t type, float ampl, long seed, long samples);
~@IMPL_NAME@();
- void set_type(noise_type_t type) { d_type = type; generate(); }
- void set_amplitude(float ampl) { d_ampl = ampl; generate(); }
+ void set_type(noise_type_t type);
+ void set_amplitude(float ampl);
void generate();
noise_type_t type() const { return d_type; }