summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/CoreAudioSoundStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/AudioCommon/CoreAudioSoundStream.h')
-rw-r--r--Source/Core/AudioCommon/CoreAudioSoundStream.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/AudioCommon/CoreAudioSoundStream.h b/Source/Core/AudioCommon/CoreAudioSoundStream.h
index 27d8c62f7d..5ebbbb945c 100644
--- a/Source/Core/AudioCommon/CoreAudioSoundStream.h
+++ b/Source/Core/AudioCommon/CoreAudioSoundStream.h
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-#ifndef _COREAUDIO_SOUND_STREAM_H
-#define _COREAUDIO_SOUND_STREAM_H
+#pragma once
#ifdef __APPLE__
#include <AudioUnit/AudioUnit.h>
@@ -34,7 +33,7 @@ public:
private:
AudioUnit audioUnit;
- int m_volume;
+ int m_volume;
static OSStatus callback(void *inRefCon,
AudioUnitRenderActionFlags *ioActionFlags,
@@ -46,5 +45,3 @@ public:
CoreAudioSound(CMixer *mixer) : SoundStream(mixer) {}
#endif
};
-
-#endif