diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-02-11 01:38:07 +0100 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-02-11 01:38:07 +0100 |
| commit | 002c8f45edbe22a7f4b50fbdde8f4c1274e1e841 (patch) | |
| tree | 2f352e13e3d5868db072f1e75d611a90e938d0cf /Source/Core/AudioCommon/CoreAudioSoundStream.h | |
| parent | a0a65a2906af132f6da04cf552812aac6ac5f20a (diff) | |
| parent | d2038049f51192fbb55fbde2fc08128bacfb7707 (diff) | |
Merge pull request #58 from lioncash/reppin-pragma-city
Replace all include guard ifdefs with "#pragma once"
Diffstat (limited to 'Source/Core/AudioCommon/CoreAudioSoundStream.h')
| -rw-r--r-- | Source/Core/AudioCommon/CoreAudioSoundStream.h | 7 |
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 |
