Commit 0b6716cc authored by Emmanuel Puig's avatar Emmanuel Puig

* Fixed kludge

parent 175ac7c6
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vlcproc.cpp: VlcProc class * vlcproc.cpp: VlcProc class
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: vlcproc.cpp,v 1.8 2003/04/16 21:50:19 karibu Exp $ * $Id: vlcproc.cpp,v 1.9 2003/04/17 16:32:14 karibu Exp $
* *
* Authors: Olivier Teulire <ipkiss@via.ecp.fr> * Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr> * Emmanuel Puig <karibu@via.ecp.fr>
...@@ -585,15 +585,10 @@ void VlcProc::ChangeVolume( unsigned int msg, long param ) ...@@ -585,15 +585,10 @@ void VlcProc::ChangeVolume( unsigned int msg, long param )
} }
aout_VolumeGet( p_intf, &volume ); aout_VolumeGet( p_intf, &volume );
/* FIXME: kludge */ OSAPI_PostMessage( NULL, CTRL_SET_SLIDER,
#ifdef WIN32
PostMessage( NULL, CTRL_SET_SLIDER,
(unsigned int) (unsigned int)
p_intf->p_sys->p_theme->EvtBank->Get( "volume_refresh" ), p_intf->p_sys->p_theme->EvtBank->Get( "volume_refresh" ),
(int)( volume * SLIDER_RANGE / AOUT_VOLUME_MAX ) ); (int)( volume * SLIDER_RANGE / AOUT_VOLUME_MAX ) );
#else
fprintf(stderr, "WARNING: FIXME in vlcproc.cpp !!!");
#endif
} }
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment