OpenShot Audio Library | OpenShotAudio 0.3.2
Loading...
Searching...
No Matches
juce_audio_devices.h
1/*
2 ==============================================================================
3
4 This file is part of the JUCE library.
5 Copyright (c) 2017 - ROLI Ltd.
6
7 JUCE is an open source library subject to commercial or open-source
8 licensing.
9
10 The code included in this file is provided under the terms of the ISC license
11 http://www.isc.org/downloads/software-support-policy/isc-license. Permission
12 To use, copy, modify, and/or distribute this software for any purpose with or
13 without fee is hereby granted provided that the above copyright notice and
14 this permission notice appear in all copies.
15
16 JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
17 EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
18 DISCLAIMED.
19
20 ==============================================================================
21*/
22
23
24/*******************************************************************************
25 The block below describes the properties of this module, and is read by
26 the Projucer to automatically generate project code that uses it.
27 For details about the syntax and how to create or use a module, see the
28 JUCE Module Format.txt file.
29
30
31 BEGIN_JUCE_MODULE_DECLARATION
32
33 ID: juce_audio_devices
34 vendor: juce
35 version: 5.4.7
36 name: JUCE audio and MIDI I/O device classes
37 description: Classes to play and record from audio and MIDI I/O devices
38 website: http://www.juce.com/juce
39 license: ISC
40
41 dependencies: juce_audio_basics, juce_events
42 OSXFrameworks: CoreAudio CoreMIDI AudioToolbox
43 iOSFrameworks: CoreAudio CoreMIDI AudioToolbox AVFoundation
44 linuxPackages: alsa
45 mingwLibs: winmm
46
47 END_JUCE_MODULE_DECLARATION
48
49*******************************************************************************/
50
51
52#pragma once
53#define JUCE_AUDIO_DEVICES_H_INCLUDED
54
55#include <juce_events/juce_events.h>
56#include <juce_audio_basics/juce_audio_basics.h>
57
58#if JUCE_MODULE_AVAILABLE_juce_graphics
59#include <juce_graphics/juce_graphics.h>
60#endif
61
62//==============================================================================
75#ifndef JUCE_USE_WINRT_MIDI
76 #define JUCE_USE_WINRT_MIDI 0
77#endif
78
87#ifndef JUCE_ASIO
88 #define JUCE_ASIO 0
89#endif
90
95#ifndef JUCE_WASAPI
96 #define JUCE_WASAPI 1
97#endif
98
102#ifndef JUCE_WASAPI_EXCLUSIVE
103 #define JUCE_WASAPI_EXCLUSIVE 0
104#endif
105
106
110#ifndef JUCE_DIRECTSOUND
111 #define JUCE_DIRECTSOUND 1
112#endif
113
117#ifndef JUCE_ALSA
118 #define JUCE_ALSA 1
119#endif
120
124#ifndef JUCE_JACK
125 #define JUCE_JACK 0
126#endif
127
131#ifndef JUCE_BELA
132 #define JUCE_BELA 0
133#endif
134
146#ifndef JUCE_USE_ANDROID_OBOE
147 #define JUCE_USE_ANDROID_OBOE 0
148#endif
149
150#if JUCE_USE_ANDROID_OBOE && JUCE_ANDROID_API_VERSION < 16
151 #undef JUCE_USE_ANDROID_OBOE
152 #define JUCE_USE_ANDROID_OBOE 0
153#endif
154
158#ifndef JUCE_USE_ANDROID_OPENSLES
159 #if ! JUCE_USE_ANDROID_OBOE && JUCE_ANDROID_API_VERSION >= 9
160 #define JUCE_USE_ANDROID_OPENSLES 1
161 #else
162 #define JUCE_USE_ANDROID_OPENSLES 0
163 #endif
164#endif
165
170#ifndef JUCE_DISABLE_AUDIO_MIXING_WITH_OTHER_APPS
171 #define JUCE_DISABLE_AUDIO_MIXING_WITH_OTHER_APPS 0
172#endif
173
174//==============================================================================
175#include "midi_io/juce_MidiDevices.h"
176#include "midi_io/juce_MidiMessageCollector.h"
177#include "audio_io/juce_AudioIODevice.h"
178#include "audio_io/juce_AudioIODeviceType.h"
179#include "audio_io/juce_SystemAudioVolume.h"
180#include "sources/juce_AudioSourcePlayer.h"
181#include "sources/juce_AudioTransportSource.h"
182#include "audio_io/juce_AudioDeviceManager.h"
183
184#if JUCE_IOS
185 #include "native/juce_ios_Audio.h"
186#endif