OpenShot Library | libopenshot-audio
0.2.0
|
26 AudioIODeviceType::AudioIODeviceType (
const String& name)
53 #if ! (JUCE_WINDOWS && JUCE_WASAPI)
57 #if ! (JUCE_WINDOWS && JUCE_DIRECTSOUND)
61 #if ! (JUCE_WINDOWS && JUCE_ASIO)
65 #if ! (JUCE_LINUX && JUCE_ALSA)
69 #if ! (JUCE_LINUX && JUCE_JACK)
73 #if ! (JUCE_LINUX && JUCE_BELA)
81 #if ! (JUCE_ANDROID && JUCE_USE_ANDROID_OPENSLES)
85 #if ! (JUCE_ANDROID && JUCE_USE_ANDROID_OBOE)
void addListener(Listener *listener)
Adds a listener that will be called when this type of device is added or removed from the system.
static AudioIODeviceType * createAudioIODeviceType_ALSA()
Creates an ALSA device type if it's available on this platform, or returns null.
static AudioIODeviceType * createAudioIODeviceType_DirectSound()
Creates a DirectSound device type if it's available on this platform, or returns null.
static AudioIODeviceType * createAudioIODeviceType_WASAPI(bool exclusiveMode)
Creates a WASAPI device type if it's available on this platform, or returns null.
void callDeviceChangeListeners()
Synchronously calls all the registered device list change listeners.
Represents a type of audio driver, such as DirectSound, ASIO, CoreAudio, etc.
static AudioIODeviceType * createAudioIODeviceType_Oboe()
Creates an Oboe device type if it's available on this platform, or returns null.
void removeListener(Listener *listener)
Removes a listener that was previously added with addListener().
static AudioIODeviceType * createAudioIODeviceType_ASIO()
Creates an ASIO device type if it's available on this platform, or returns null.
static AudioIODeviceType * createAudioIODeviceType_Bela()
Creates a Bela device type if it's available on this platform, or returns null.
static AudioIODeviceType * createAudioIODeviceType_CoreAudio()
Creates a CoreAudio device type if it's available on this platform, or returns null.
static AudioIODeviceType * createAudioIODeviceType_Android()
Creates an Android device type if it's available on this platform, or returns null.
static AudioIODeviceType * createAudioIODeviceType_JACK()
Creates a JACK device type if it's available on this platform, or returns null.
static AudioIODeviceType * createAudioIODeviceType_iOSAudio()
Creates an iOS device type if it's available on this platform, or returns null.
virtual void audioDeviceListChanged()=0
Called when the list of available audio devices changes.
static AudioIODeviceType * createAudioIODeviceType_OpenSLES()
Creates an Android OpenSLES device type if it's available on this platform, or returns null.
virtual ~AudioIODeviceType()
Destructor.
A class for receiving events when audio devices are inserted or removed.