1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Minor clean-ups.

This commit is contained in:
jules 2013-03-24 11:14:18 +00:00
parent 26f3837593
commit 7e834399ff
2 changed files with 6 additions and 5 deletions

View file

@ -28,7 +28,7 @@
//============================================================================== //==============================================================================
/** /**
Contains functions to control the system's master volume Contains functions to control the system's master volume.
*/ */
class JUCE_API SystemAudioVolume class JUCE_API SystemAudioVolume
{ {
@ -53,6 +53,7 @@ public:
static bool JUCE_CALLTYPE setMuted (bool shouldBeMuted); static bool JUCE_CALLTYPE setMuted (bool shouldBeMuted);
private: private:
SystemAudioVolume(); // Don't instantiate this class, just call its static fns.
JUCE_DECLARE_NON_COPYABLE (SystemAudioVolume) JUCE_DECLARE_NON_COPYABLE (SystemAudioVolume)
}; };

View file

@ -236,9 +236,9 @@ namespace juce
#if ! JUCE_SYSTEMAUDIOVOL_IMPLEMENTED #if ! JUCE_SYSTEMAUDIOVOL_IMPLEMENTED
// None of these methods are available. (On Windows you might need to enable WASAPI for this) // None of these methods are available. (On Windows you might need to enable WASAPI for this)
float JUCE_CALLTYPE SystemAudioVolume::getGain() { jassertfalse; return 0.0f; } float JUCE_CALLTYPE SystemAudioVolume::getGain() { jassertfalse; return 0.0f; }
bool JUCE_CALLTYPE SystemAudioVolume::setGain (float gain) { jassertfalse; return false; } bool JUCE_CALLTYPE SystemAudioVolume::setGain (float) { jassertfalse; return false; }
bool JUCE_CALLTYPE SystemAudioVolume::isMuted() { jassertfalse; return false; } bool JUCE_CALLTYPE SystemAudioVolume::isMuted() { jassertfalse; return false; }
bool JUCE_CALLTYPE SystemAudioVolume::setMuted (bool mute) { jassertfalse; return false; } bool JUCE_CALLTYPE SystemAudioVolume::setMuted (bool) { jassertfalse; return false; }
#endif #endif
} }