winecoreaudio.drv: Do nothing if HAVE_AUDIOUNIT_AUDIOUNIT_H is not defined.
This commit is contained in:
parent
a3a2506d52
commit
1d5d237800
|
@ -19,14 +19,15 @@
|
|||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(wave);
|
||||
|
||||
#ifdef HAVE_AUDIOUNIT_AUDIOUNIT_H
|
||||
|
||||
#include <AudioUnit/AudioUnit.h>
|
||||
#include <AudioToolbox/AudioToolbox.h>
|
||||
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(wave);
|
||||
WINE_DECLARE_DEBUG_CHANNEL(midi);
|
||||
|
||||
extern OSStatus CoreAudio_woAudioUnitIOProc(void *inRefCon,
|
||||
|
|
|
@ -20,16 +20,18 @@
|
|||
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(midi);
|
||||
|
||||
#ifdef HAVE_COREAUDIO_COREAUDIO_H
|
||||
|
||||
#include <CoreMIDI/CoreMIDI.h>
|
||||
#include <mach/mach_time.h>
|
||||
|
||||
#include "coremidi.h"
|
||||
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(midi);
|
||||
|
||||
MIDIClientRef CoreMIDI_CreateClient(CFStringRef name)
|
||||
{
|
||||
MIDIClientRef client = NULL;
|
||||
|
|
Loading…
Reference in New Issue