JUCE
Macros
juce_audio_devices.h File Reference

Macros

#define JUCE_AUDIO_DEVICES_H_INCLUDED
 
#define JUCE_ASIO   0
 Config: JUCE_ASIO Enables ASIO audio devices (MS Windows only). More...
 
#define JUCE_WASAPI   1
 Config: JUCE_WASAPI Enables WASAPI audio devices (Windows Vista and above). More...
 
#define JUCE_WASAPI_EXCLUSIVE   0
 Config: JUCE_WASAPI_EXCLUSIVE Enables WASAPI audio devices in exclusive mode (Windows Vista and above). More...
 
#define JUCE_DIRECTSOUND   1
 Config: JUCE_DIRECTSOUND Enables DirectSound audio (MS Windows only). More...
 
#define JUCE_ALSA   1
 Config: JUCE_ALSA Enables ALSA audio devices (Linux only). More...
 
#define JUCE_JACK   0
 Config: JUCE_JACK Enables JACK audio devices (Linux only). More...
 
#define JUCE_USE_ANDROID_OPENSLES   0
 Config: JUCE_USE_ANDROID_OPENSLES Enables OpenSLES devices (Android only). More...
 
#define JUCE_USE_WINRT_MIDI   0
 Config: JUCE_USE_WINRT_MIDI. More...
 
#define JUCE_DISABLE_AUDIO_MIXING_WITH_OTHER_APPS   0
 Config: JUCE_DISABLE_AUDIO_MIXING_WITH_OTHER_APPS Turning this on gives your app exclusive access to the system's audio on platforms which support it (currently iOS only). More...
 

Macro Definition Documentation

◆ JUCE_AUDIO_DEVICES_H_INCLUDED

#define JUCE_AUDIO_DEVICES_H_INCLUDED

◆ JUCE_ASIO

#define JUCE_ASIO   0

Config: JUCE_ASIO Enables ASIO audio devices (MS Windows only).

Turning this on means that you'll need to have the Steinberg ASIO SDK installed on your Windows build machine.

See the comments in the ASIOAudioIODevice class's header file for more info about this.

◆ JUCE_WASAPI

#define JUCE_WASAPI   1

Config: JUCE_WASAPI Enables WASAPI audio devices (Windows Vista and above).

See also the JUCE_WASAPI_EXCLUSIVE flag.

◆ JUCE_WASAPI_EXCLUSIVE

#define JUCE_WASAPI_EXCLUSIVE   0

Config: JUCE_WASAPI_EXCLUSIVE Enables WASAPI audio devices in exclusive mode (Windows Vista and above).

◆ JUCE_DIRECTSOUND

#define JUCE_DIRECTSOUND   1

Config: JUCE_DIRECTSOUND Enables DirectSound audio (MS Windows only).

◆ JUCE_ALSA

#define JUCE_ALSA   1

Config: JUCE_ALSA Enables ALSA audio devices (Linux only).

◆ JUCE_JACK

#define JUCE_JACK   0

Config: JUCE_JACK Enables JACK audio devices (Linux only).

◆ JUCE_USE_ANDROID_OPENSLES

#define JUCE_USE_ANDROID_OPENSLES   0

Config: JUCE_USE_ANDROID_OPENSLES Enables OpenSLES devices (Android only).

◆ JUCE_USE_WINRT_MIDI

#define JUCE_USE_WINRT_MIDI   0

Config: JUCE_USE_WINRT_MIDI.

EXPERIMENTAL - Microsoft's Bluetooth MIDI stack has multiple issues, use at your own risk!

Enables the use of the Windows Runtime API for MIDI, which supports Bluetooth Low Energy connections on computers with the Anniversary Update of Windows 10.

To compile with this flag requires version 10.0.14393.0 of the Windows Standalone SDK and you must add the path to the WinRT headers. This path should be something similar to "C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\winrt".

◆ JUCE_DISABLE_AUDIO_MIXING_WITH_OTHER_APPS

#define JUCE_DISABLE_AUDIO_MIXING_WITH_OTHER_APPS   0

Config: JUCE_DISABLE_AUDIO_MIXING_WITH_OTHER_APPS Turning this on gives your app exclusive access to the system's audio on platforms which support it (currently iOS only).