JUCE  v6.1.6 (6.0.8-1114)
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:

Namespaces

 juce
 

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   1
 Config: JUCE_USE_ANDROID_OBOE Enables Oboe devices (Android only). More...
 
#define JUCE_USE_ANDROID_OBOE_STABILIZED_CALLBACK   0
 Config: JUCE_USE_OBOE_STABILIZED_CALLBACK If JUCE_USE_ANDROID_OBOE is enabled, enabling this will wrap output audio streams in the oboe::StabilizedCallback class. 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...
 

Enumerations

enum  juce::WASAPIDeviceMode {
  juce::WASAPIDeviceMode::shared,
  juce::WASAPIDeviceMode::exclusive,
  juce::WASAPIDeviceMode::sharedLowLatency
}
 Available modes for the WASAPI audio device. 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   1

Config: JUCE_USE_ANDROID_OBOE Enables Oboe devices (Android only).

◆ JUCE_USE_ANDROID_OBOE_STABILIZED_CALLBACK

#define JUCE_USE_ANDROID_OBOE_STABILIZED_CALLBACK   0

Config: JUCE_USE_OBOE_STABILIZED_CALLBACK If JUCE_USE_ANDROID_OBOE is enabled, enabling this will wrap output audio streams in the oboe::StabilizedCallback class.

This class attempts to keep the CPU spinning to avoid it being scaled down on certain devices. (Android 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 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 versions of Windows will automatically fall back to using the regular 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).