[mythtv] [PATCH] Add help text to audio device selection

Kevin Kuphal kuphal at dls.net
Thu Jun 24 21:25:00 EDT 2004


This patch just adds some help text to the audio device selection.  
Specifically it notes the need to use ALSA:device to reference an ALSA 
device.  I had an issue today where for some reason with the newer alsa 
libraries installed I could no longer use /dev/adsp but instead had to 
use ALSA:spdif to reference my digital out but it took me some time to 
figure out that I had to use ALSA: (caps required) to get Myth to open 
the ALSA device properly.   This is unlike mplayer which many might be 
used to so I thought this help text might help people looking for the 
same setting.

Kevin
-------------- next part --------------
Logging in to :pserver:mythtv at cvs.mythtv.org:2401/var/lib/mythcvs
Index: mythtv/programs/mythfrontend/globalsettings.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/programs/mythfrontend/globalsettings.cpp,v
retrieving revision 1.178
diff -n -u -r1.178 globalsettings.cpp
--- mythtv/programs/mythfrontend/globalsettings.cpp	16 Jun 2004 23:37:39 -0000	1.178
+++ mythtv/programs/mythfrontend/globalsettings.cpp	25 Jun 2004 01:20:33 -0000
@@ -13,6 +13,9 @@
 class AudioOutputDevice: public ComboBoxSetting, public GlobalSetting {
 public:
     AudioOutputDevice();
+	setHelpText(QObject::tr("Select an audio device or type the "
+		"appropriate device name.  Use ALSA: followed by a "
+		"valid ALSA device name to reference an ALSA device"));
 };
 
 AudioOutputDevice::AudioOutputDevice():


More information about the mythtv-dev mailing list