Index: libs/libmyth/volumecontrol.cpp =================================================================== RCS file: /var/lib/mythcvs/mythtv/libs/libmyth/volumecontrol.cpp,v retrieving revision 1.10 diff -u -r1.10 volumecontrol.cpp --- libs/libmyth/volumecontrol.cpp 1 Jun 2004 06:56:55 -0000 1.10 +++ libs/libmyth/volumecontrol.cpp 30 Jul 2004 04:16:18 -0000 @@ -1,6 +1,6 @@ #include "volumecontrol.h" -#ifndef _WIN32 +#ifdef __linux__ #include #endif @@ -19,7 +19,7 @@ mixerfd = 0; volume = 0; -#ifndef _WIN32 +#ifdef __linux__ mute = false; current_mute_state = MUTE_OFF; @@ -72,7 +72,7 @@ int VolumeControl::GetCurrentVolume(void) { -#ifndef _WIN32 +#ifdef __linux__ int realvol; if(mute) @@ -96,7 +96,7 @@ void VolumeControl::SetCurrentVolume(int value) { -#ifndef _WIN32 +#ifdef __linux__ volume = value; if (volume > 100) @@ -133,7 +133,7 @@ void VolumeControl::SetMute(bool on) { -#ifndef _WIN32 +#ifdef __linux__ int realvol; if (on) @@ -165,7 +165,7 @@ // current_mute_state is initialized to "MUTE_OFF". If individual muting // is enabled, each call to SetMute will advance to the next state: // MUTE_OFF -> MUTE_LEFT -> MUTE_RIGHT -> MUTE_BOTH -> MUTE_OFF -#ifndef _WIN32 +#ifdef __linux__ int realvol; switch (current_mute_state)