summaryrefslogtreecommitdiff
path: root/gr-audio/include/gr_audio_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-audio/include/gr_audio_source.h')
-rw-r--r--gr-audio/include/gr_audio_source.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/gr-audio/include/gr_audio_source.h b/gr-audio/include/gr_audio_source.h
index eca22e3eb..8fe2b9b47 100644
--- a/gr-audio/include/gr_audio_source.h
+++ b/gr-audio/include/gr_audio_source.h
@@ -28,7 +28,13 @@
/*!
* \brief Creates a source from an audio device.
* \ingroup audio_blk
- *
+ */
+class GR_AUDIO_API audio_source : virtual public gr_sync_block{
+public:
+ typedef boost::shared_ptr<audio_source> sptr;
+};
+
+/*!
* Creates a source from an audio device at a specified
* sample_rate. The specific audio device to use can be specified as
* the device_name parameter. Typical choices are:
@@ -37,12 +43,11 @@
* \li plughw:0,0
* \li surround51
* \li /dev/dsp
+ *
+ * \xmlonly
+ * - pulse, hw:0,0, plughw:0,0, surround51, /dev/dsp
+ * \endxmlonly
*/
-class GR_AUDIO_API audio_source : virtual public gr_sync_block{
-public:
- typedef boost::shared_ptr<audio_source> sptr;
-};
-
GR_AUDIO_API audio_source::sptr audio_make_source(
int sampling_rate,
const std::string device_name = "",