summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/wavfile_source_impl.cc
diff options
context:
space:
mode:
authorBen Reynwar <ben@reynwar.net>2013-05-19 02:55:33 -0700
committerBen Reynwar <ben@reynwar.net>2013-05-19 02:55:33 -0700
commitbb01988e75d50d82cbb44c1a49c86c1d08f05665 (patch)
tree0528dac14476d37f2cde7374a8fcb3428f879c69 /gr-blocks/lib/wavfile_source_impl.cc
parente4f0319eced22c112f7e6a4cc45bc2036d285332 (diff)
parent0fa219774dcf9141ae91204f948c029b05673f3f (diff)
Merged in next_docs branch.
Diffstat (limited to 'gr-blocks/lib/wavfile_source_impl.cc')
-rw-r--r--gr-blocks/lib/wavfile_source_impl.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-blocks/lib/wavfile_source_impl.cc b/gr-blocks/lib/wavfile_source_impl.cc
index 2e3b0e240c..7538792d1c 100644
--- a/gr-blocks/lib/wavfile_source_impl.cc
+++ b/gr-blocks/lib/wavfile_source_impl.cc
@@ -25,8 +25,8 @@
#endif
#include "wavfile_source_impl.h"
-#include <gr_io_signature.h>
-#include <blocks/wavfile.h>
+#include <gnuradio/io_signature.h>
+#include <gnuradio/blocks/wavfile.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdexcept>
@@ -58,9 +58,9 @@ namespace gr {
}
wavfile_source_impl::wavfile_source_impl (const char *filename, bool repeat)
- : gr_sync_block("wavfile_source",
- gr_make_io_signature(0, 0, 0),
- gr_make_io_signature(1, 2, sizeof(float))),
+ : sync_block("wavfile_source",
+ io_signature::make(0, 0, 0),
+ io_signature::make(1, 2, sizeof(float))),
d_fp(NULL), d_repeat(repeat),
d_sample_rate(1), d_nchans(1), d_bytes_per_sample(2), d_first_sample_pos(0),
d_samples_per_chan(0), d_sample_idx(0)
@@ -102,7 +102,7 @@ namespace gr {
}
// Re-set the output signature
- set_output_signature(gr_make_io_signature(1, d_nchans, sizeof(float)));
+ set_output_signature(io_signature::make(1, d_nchans, sizeof(float)));
}
wavfile_source_impl::~wavfile_source_impl ()