From 0644b009591f4c63ed05a8095a0c54c1501bac71 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 9 Mar 2011 11:44:35 -0800 Subject: audio: moved the grc audio blocks into gr-audio dir --- gr-audio/grc/audio_source.xml | 86 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 gr-audio/grc/audio_source.xml (limited to 'gr-audio/grc/audio_source.xml') diff --git a/gr-audio/grc/audio_source.xml b/gr-audio/grc/audio_source.xml new file mode 100644 index 000000000..59b375244 --- /dev/null +++ b/gr-audio/grc/audio_source.xml @@ -0,0 +1,86 @@ + + + + Audio Source + audio_source + Sources + from gnuradio import audio + audio.source($samp_rate, $device_name, $ok_to_block) + + Sample Rate + samp_rate + samp_rate + int + + + + + + + + + Device Name + device_name + + string + #if $device_name() then 'none' else 'part'# + + + OK to Block + ok_to_block + True + enum + part + + + + + Num Outputs + num_outputs + 1 + int + + 0 < $num_outputs + + out + float + $num_outputs + + +Not all sampling rates will be supported by your hardware. + +Leave the device name blank to choose deafult audio device. \ +ALSA users with audio trouble may try setting the device name to plughw:0,0 + +The audio source can have multiple outputs depending upon your hardware. \ +For example, set the outputs to 2 for stereo audio. + + -- cgit