winecoreaudio.drv: Do nothing if HAVE_AUDIOUNIT_AUDIOUNIT_H is not defined.

This commit is contained in:
Andrew Talbot 2008-12-20 15:02:41 +00:00 committed by Alexandre Julliard
parent a3a2506d52
commit 1d5d237800
2 changed files with 9 additions and 6 deletions

View File

@ -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,

View File

@ -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;