Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gnuradio-core / src / lib / io / gr_wavfile_sink.cc
index 72e4ef51e0721ccbd163e06ac577e3f5eaa91d30..b60a6e3abdd131e8297b53714351e94f5f7fd5e8 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2004,2006,2007,2008,2009 Free Software Foundation, Inc.
+ * Copyright 2004,2006,2007,2008,2009,2010 Free Software Foundation, Inc.
  *
  * This file is part of GNU Radio
  *
@@ -58,7 +58,7 @@ gr_make_wavfile_sink(const char *filename,
                     unsigned int sample_rate,
                     int bits_per_sample)
 {
-  return gr_wavfile_sink_sptr (new gr_wavfile_sink (filename,
+  return gnuradio::get_initial_sptr(new gr_wavfile_sink (filename,
                                                    n_channels,
                                                    sample_rate,
                                                    bits_per_sample));