commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10562 - gnuradio/trunk/grc/data/platforms/python/bloc


From: jblum
Subject: [Commit-gnuradio] r10562 - gnuradio/trunk/grc/data/platforms/python/blocks
Date: Thu, 5 Mar 2009 15:38:10 -0700 (MST)

Author: jblum
Date: 2009-03-05 15:38:09 -0700 (Thu, 05 Mar 2009)
New Revision: 10562

Modified:
   gnuradio/trunk/grc/data/platforms/python/blocks/audio_sink.xml
   gnuradio/trunk/grc/data/platforms/python/blocks/audio_source.xml
Log:
audio blocks: note to alsa users, hide the device name when empty

Modified: gnuradio/trunk/grc/data/platforms/python/blocks/audio_sink.xml
===================================================================
--- gnuradio/trunk/grc/data/platforms/python/blocks/audio_sink.xml      
2009-03-05 19:21:45 UTC (rev 10561)
+++ gnuradio/trunk/grc/data/platforms/python/blocks/audio_sink.xml      
2009-03-05 22:38:09 UTC (rev 10562)
@@ -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.

Modified: gnuradio/trunk/grc/data/platforms/python/blocks/audio_source.xml
===================================================================
--- gnuradio/trunk/grc/data/platforms/python/blocks/audio_source.xml    
2009-03-05 19:21:45 UTC (rev 10561)
+++ gnuradio/trunk/grc/data/platforms/python/blocks/audio_source.xml    
2009-03-05 22:38:09 UTC (rev 10562)
@@ -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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]