/* -*- c++ -*- */
/*
- * Copyright 2004 Free Software Foundation, Inc.
+ * Copyright 2004,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
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,