[19040] in Athena Bugs

home help back first fref pref prev next nref lref last post

Fix for mpg123ctl volume on Linux

daemon@ATHENA.MIT.EDU (Christopher D. Beland)
Sun Jul 22 19:25:42 2001

Message-Id: <200107222325.TAA39139@whack-a-mole.mit.edu>
To: bug-infoagents@MIT.EDU
Date: Sun, 22 Jul 2001 19:25:32 -0400
From: "Christopher D. Beland" <beland@MIT.EDU>


Volume control from mpg123ctl doesn't work on Linux because there's no
volume program defined.  I think that this would be fixed by after the
following section:

---

 # platform configuration -- set to the audio control program, e.g.
 # audiocontrol on Solaris, audiopanel on IRIX.
 if {[file exists /usr/sbin/audiopanel]} {
    set audiocontrol /usr/sbin/audiopanel
} elseif {[file exists /usr/openwin/bin/audiocontrol]} {
    set audiocontrol /usr/openwin/bin/audiocontrol

---

Adding the following lines:

---

} elseif {[file exists /usr/X11R6/bin/xmixer]} {
    set audiocontrol /usr/X11R6/bin/xmixer


===============================================================
Christopher Beland - http://web.mit.edu/beland/www/contact.html
MIT STS/Course 6 (EECS)   -   MIT Athena User Interface Project              
The Talk of MIT   **   http://web.mit.edu/beland/talk/talk.html
===============================================================

home help back first fref pref prev next nref lref last post