diff options
author | jblum | 2009-03-05 22:38:09 +0000 |
---|---|---|
committer | jblum | 2009-03-05 22:38:09 +0000 |
commit | a18bbf5bcaee381715ec39b51477c065110a9513 (patch) | |
tree | 80d09c1b442cd2c94fea444bb584670c64072161 /grc/data | |
parent | 976df9d40be11a16900464a7ef44603856f0c5a1 (diff) | |
download | gnuradio-a18bbf5bcaee381715ec39b51477c065110a9513.tar.gz gnuradio-a18bbf5bcaee381715ec39b51477c065110a9513.tar.bz2 gnuradio-a18bbf5bcaee381715ec39b51477c065110a9513.zip |
audio blocks: note to alsa users, hide the device name when empty
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10562 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/data')
-rw-r--r-- | grc/data/platforms/python/blocks/audio_sink.xml | 4 | ||||
-rw-r--r-- | grc/data/platforms/python/blocks/audio_source.xml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/grc/data/platforms/python/blocks/audio_sink.xml b/grc/data/platforms/python/blocks/audio_sink.xml index 56c5980fc..decaf2a08 100644 --- a/grc/data/platforms/python/blocks/audio_sink.xml +++ b/grc/data/platforms/python/blocks/audio_sink.xml @@ -44,12 +44,14 @@ <key>device_name</key> <value></value> <type>string</type> + <hide>#if $device_name.eval then 'none' else 'part'#</hide> </param> <param> <name>OK to Block</name> <key>ok_to_block</key> <value>True</value> <type>enum</type> + <hide>part</hide> <option> <name>Yes</name> <key>True</key> @@ -75,7 +77,7 @@ Not all sampling rates will be supported by your hardware. Leave the device name blank to choose deafult audio device. \ -Audio device names may look like hw:0,0 +ALSA users with audio trouble may try setting the device name to plughw:0,0 The audio sink can have multiple inputs depending upon your hardware. \ For example, set the inputs to 2 for stereo audio. diff --git a/grc/data/platforms/python/blocks/audio_source.xml b/grc/data/platforms/python/blocks/audio_source.xml index 2ae74e491..21407dccd 100644 --- a/grc/data/platforms/python/blocks/audio_source.xml +++ b/grc/data/platforms/python/blocks/audio_source.xml @@ -44,12 +44,14 @@ <key>device_name</key> <value></value> <type>string</type> + <hide>#if $device_name.eval then 'none' else 'part'#</hide> </param> <param> <name>OK to Block</name> <key>ok_to_block</key> <value>True</value> <type>enum</type> + <hide>part</hide> <option> <name>Yes</name> <key>True</key> @@ -75,7 +77,7 @@ Not all sampling rates will be supported by your hardware. Leave the device name blank to choose deafult audio device. \ -Audio device names may look like hw:0,0 +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. |