From 579260bf31c6607b47168fbf9c430044fa66ccf8 Mon Sep 17 00:00:00 2001 From: pontscho Date: Wed, 12 Sep 2001 16:05:29 +0000 Subject: *** empty log message *** git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1887 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/mixer.c | 48 ------------------------------------------------ Gui/mplayer/mixer.h | 13 ------------- 2 files changed, 61 deletions(-) delete mode 100644 Gui/mplayer/mixer.c delete mode 100644 Gui/mplayer/mixer.h (limited to 'Gui/mplayer') diff --git a/Gui/mplayer/mixer.c b/Gui/mplayer/mixer.c deleted file mode 100644 index e8ad4a5f22..0000000000 --- a/Gui/mplayer/mixer.c +++ /dev/null @@ -1,48 +0,0 @@ - -#include "play.h" -#include "../../mixer.h" - -//extern void mixer_getvolume( float *l,float *r ); -//extern void mixer_setvolume( float l,float r ); -//extern void mixer_incvolume( void ); -//extern void mixer_decvolume( void ); -//extern float mixer_getbothvolume( void ); - -float mixerGetVolume( void ) -{ -// mplShMem->Volume=(float)mixer_getbothvolume(); - return mplShMem->Volume; -} - -void mixerSetVolume( float v ) -{ - mplShMem->Volume=v; - mixer_setvolume( v,v ); -} - -void mixerIncVolume( void ) -{ -// mixer_incvolume(); - mixerGetVolume(); -} - -void mixerDecVolume( void ) -{ -// mixer_decvolume(); - mixerGetVolume(); -} - -void mixerMute( void ) -{ -} - -void mixerSetBalance( float b ) -{ -//printf("%%%%%% mixerSetBalance(%5.3f) \n",b); - mplShMem->Balance=b; -} - -float mixerGetBalance( void ) -{ - return mplShMem->Balance; -} diff --git a/Gui/mplayer/mixer.h b/Gui/mplayer/mixer.h deleted file mode 100644 index f4d2291bac..0000000000 --- a/Gui/mplayer/mixer.h +++ /dev/null @@ -1,13 +0,0 @@ - -#ifndef _MIXER_H -#define _MIXER_H - -extern float mixerGetVolume( void ); -extern void mixerSetVolume( float v ); -extern void mixerIncVolume( void ); -extern void mixerDecVolume( void ); -extern void mixerMute( void ); -extern void mixerSetBalance( float b ); -extern float mixerGetBalance( void ); - -#endif -- cgit v1.2.3