File diff r21382:9d5f35b3c6bb → r21383:942c32fb8b0e
src/music/cocoa_m.cpp
Show inline comments
 
@@ -19,24 +19,26 @@
 
#include "../os/macosx/macos.h"
 
#include "cocoa_m.h"
 
#include "../debug.h"
 

	
 
#define Rect        OTTDRect
 
#define Point       OTTDPoint
 
#include <CoreServices/CoreServices.h>
 
#include <AudioUnit/AudioUnit.h>
 
#include <AudioToolbox/AudioToolbox.h>
 
#undef Rect
 
#undef Point
 

	
 
#include "../safeguards.h"
 

	
 
static FMusicDriver_Cocoa iFMusicDriver_Cocoa;
 

	
 

	
 
static MusicPlayer    _player = NULL;
 
static MusicSequence  _sequence = NULL;
 
static MusicTimeStamp _seq_length = 0;
 
static bool           _playing = false;
 
static byte           _volume = 127;
 

	
 

	
 
/** Set the volume of the current sequence. */
 
static void DoSetVolume()