[mythtv-commits] Ticket #4428: Mixer device does not accept spaces
MythTV
mythtv at cvs.mythtv.org
Sat Jan 5 08:45:03 UTC 2008
#4428: Mixer device does not accept spaces
-------------------------------------------------+--------------------------
Reporter: Paul Lambert <paul at planar.id.au> | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythcontrols | Version: unknown
Severity: medium | Mlocked: 0
-------------------------------------------------+--------------------------
The setting in the settings table labelled "MixerControl" does not accept
spaces from the frontend. My machine, by default, doesn't appear to have
either a PCM mixer or a Master volume control. All the useful controls in
the alsa mixer (amixer) have spaces in their name.
When I update the database directly using the command: "update settings
set data = "Analog Front" where value = 'MixerControl' and host = 'myth';"
then I can control the volume via mythfrontend.
I took a look through the code to see if I could make a change. The
setting is configured in the file
programs/mythfrontend/globalsettings.cpp. However, it is using a control
entitled "HostComboBox", which from the look of things by default doesn't
accept spaces. A lot of different things also use HostComboBox, so
probably modifying it to accept spaces would be a bad idea. It wasn't
clear whether there is already a solution to this for other areas that use
HostComboBox, or whether this is a new need that hasn't previously arisen.
Any ideas?
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4428>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list