JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce_audio_devices.h File Reference
Include dependency graph for juce_audio_devices.h:
This graph shows which files directly or indirectly include this file:

Macros

#define JUCE_ALSA   1
 Config: JUCE_ALSA Enables ALSA audio devices (Linux only). More...
 
#define JUCE_ASIO   0
 Config: JUCE_ASIO Enables ASIO audio devices (MS Windows only). More...
 
#define JUCE_AUDIO_DEVICES_H_INCLUDED
 
#define JUCE_BELA   0
 Config: JUCE_BELA Enables Bela audio devices on Bela boards. More...
 
#define JUCE_DIRECTSOUND   1
 Config: JUCE_DIRECTSOUND Enables DirectSound audio (MS Windows only). 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...
 
#define JUCE_JACK   0
 Config: JUCE_JACK Enables JACK audio devices (Linux only). More...
 
#define JUCE_USE_ANDROID_OBOE   0
 Config: JUCE_USE_ANDROID_OBOE. 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 Enables the use of the Windows Runtime API for MIDI, allowing connections to Bluetooth Low Energy devices on Windows 10 version 1809 (October 2018 Update) and later. 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...
 

Macro Definition Documentation

◆ JUCE_ALSA

#define JUCE_ALSA   1

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

◆ 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_AUDIO_DEVICES_H_INCLUDED

#define JUCE_AUDIO_DEVICES_H_INCLUDED

◆ JUCE_BELA

#define JUCE_BELA   0

Config: JUCE_BELA Enables Bela audio devices on Bela boards.

◆ JUCE_DIRECTSOUND

#define JUCE_DIRECTSOUND   1

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

◆ 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).

◆ JUCE_JACK

#define JUCE_JACK   0

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

◆ JUCE_USE_ANDROID_OBOE

#define JUCE_USE_ANDROID_OBOE   0

Config: JUCE_USE_ANDROID_OBOE.

DEVELOPER PREVIEW - Oboe is currently in developer preview and is in active development. This preview allows for early access and evaluation for developers targeting Android platform.

Enables Oboe devices (Android only, API 16 or above). Requires Oboe repository path to be specified in Android exporter.

◆ 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 Enables the use of the Windows Runtime API for MIDI, allowing connections to Bluetooth Low Energy devices on Windows 10 version 1809 (October 2018 Update) and later.

If you enable this flag then older, unsupported, versions of Windows will automatically fall back to using the regualar Win32 MIDI API.

You will need version 10.0.14393.0 of the Windows Standalone SDK to compile and you may need to add the path to the WinRT headers. The path to the headers will be something similar to "C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\winrt".

◆ 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).