summaryrefslogtreecommitdiff
path: root/frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend.c')
-rw-r--r--frontend.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend.c b/frontend.c
index ac4a21a6..edf496db 100644
--- a/frontend.c
+++ b/frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend.c,v 1.34 2007-03-14 17:40:38 phintuka Exp $
+ * $Id: frontend.c,v 1.35 2007-03-28 06:52:09 phintuka Exp $
*
*/
@@ -259,7 +259,9 @@ bool cXinelibThread::IsFinished(void)
void cXinelibThread::SetVolume(int NewVolume)
{
- Xine_Control("VOLUME", NewVolume * 100 / 255);
+ cString str = cString::sprintf("VOLUME %d%s", NewVolume * 100 / 255,
+ xc.sw_volume_control ? " SW" : "");
+ Xine_Control(str);
}
void cXinelibThread::TrickSpeed(int Speed)