Make core_audio default again and add some extra headers. Mac OS X 10.5.x users please test if it still works.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3101
This commit is contained in:
parent
ff3634a5d9
commit
8ca07ff1f0
2 changed files with 8 additions and 1 deletions
|
@ -79,8 +79,8 @@ MidiHandler Midi_none;
|
|||
|
||||
#if defined(MACOSX)
|
||||
|
||||
#include "midi_coreaudio.h"
|
||||
#include "midi_coremidi.h"
|
||||
#include "midi_coreaudio.h"
|
||||
|
||||
#elif defined (WIN32)
|
||||
|
||||
|
|
|
@ -18,6 +18,13 @@
|
|||
|
||||
#include <AudioUnit/AudioUnit.h>
|
||||
|
||||
//We seem to using very old interface. This keeps it compiling. Maybe
|
||||
//somebody will come up with something better oneday.
|
||||
#ifdef MAC_OS_X_VERSION_10_5
|
||||
#include <AudioUnit/AudioUnitCarbonView.h>
|
||||
#include <AudioUnit/AUNTComponent.h>
|
||||
#endif
|
||||
|
||||
class MidiHandler_coreaudio : public MidiHandler {
|
||||
private:
|
||||
AudioUnit m_musicDevice;
|
||||
|
|
Loading…
Add table
Reference in a new issue