diff options
Diffstat (limited to 'gr-audio-oss/src/audio_oss_sink.cc')
-rw-r--r-- | gr-audio-oss/src/audio_oss_sink.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-audio-oss/src/audio_oss_sink.cc b/gr-audio-oss/src/audio_oss_sink.cc index a14edc9d2..8230ab9b6 100644 --- a/gr-audio-oss/src/audio_oss_sink.cc +++ b/gr-audio-oss/src/audio_oss_sink.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2004 Free Software Foundation, Inc. + * Copyright 2004,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -47,7 +47,7 @@ default_device_name () audio_oss_sink_sptr audio_oss_make_sink (int sampling_rate, const std::string dev, bool ok_to_block) { - return audio_oss_sink_sptr (new audio_oss_sink (sampling_rate, dev, ok_to_block)); + return gnuradio::get_initial_sptr(new audio_oss_sink (sampling_rate, dev, ok_to_block)); } audio_oss_sink::audio_oss_sink (int sampling_rate, |