tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracktion::engine::DeviceManager::TracktionEngineAudioDeviceManager Struct Reference

Subclass of an AudioDeviceManager which can be used to avoid adding the system audio devices in plugin builds. More...

#include "tracktion_DeviceManager.h"

Inheritance diagram for tracktion::engine::DeviceManager::TracktionEngineAudioDeviceManager:
juce::AudioDeviceManager juce::ChangeBroadcaster

Public Member Functions

 TracktionEngineAudioDeviceManager (Engine &)
 
void createAudioDeviceTypes (juce::OwnedArray< juce::AudioIODeviceType > &) override
 
- Public Member Functions inherited from juce::AudioDeviceManager
String initialise (int numInputChannelsNeeded, int numOutputChannelsNeeded, const XmlElement *savedState, bool selectDefaultDeviceOnFailure, const String &preferredDefaultDeviceName=String(), const AudioDeviceSetup *preferredSetupOptions=nullptr)
 
String initialiseWithDefaultDevices (int numInputChannelsNeeded, int numOutputChannelsNeeded)
 
std::unique_ptr< XmlElement > createStateXml () const
 
AudioDeviceSetup getAudioDeviceSetup () const
 
void getAudioDeviceSetup (AudioDeviceSetup &result) const
 
String setAudioDeviceSetup (const AudioDeviceSetup &newSetup, bool treatAsChosenDevice)
 
AudioIODevice * getCurrentAudioDevice () const noexcept
 
String getCurrentAudioDeviceType () const
 
AudioIODeviceType * getCurrentDeviceTypeObject () const
 
void setCurrentAudioDeviceType (const String &type, bool treatAsChosenDevice)
 
AudioWorkgroup getDeviceAudioWorkgroup () const
 
void closeAudioDevice ()
 
void restartLastAudioDevice ()
 
void addAudioCallback (AudioIODeviceCallback *newCallback)
 
void removeAudioCallback (AudioIODeviceCallback *callback)
 
double getCpuUsage () const
 
void setMidiInputDeviceEnabled (const String &deviceIdentifier, bool enabled)
 
bool isMidiInputDeviceEnabled (const String &deviceIdentifier) const
 
void addMidiInputDeviceCallback (const String &deviceIdentifier, MidiInputCallback *callback)
 
void removeMidiInputDeviceCallback (const String &deviceIdentifier, MidiInputCallback *callback)
 
void setDefaultMidiOutputDevice (const String &deviceIdentifier)
 
const String & getDefaultMidiOutputIdentifier () const noexcept
 
MidiOutput * getDefaultMidiOutput () const noexcept
 
const OwnedArray< AudioIODeviceType > & getAvailableDeviceTypes ()
 
void addAudioDeviceType (std::unique_ptr< AudioIODeviceType > newDeviceType)
 
void removeAudioDeviceType (AudioIODeviceType *deviceTypeToRemove)
 
void playTestSound ()
 
LevelMeter::Ptr getInputLevelGetter () noexcept
 
LevelMeter::Ptr getOutputLevelGetter () noexcept
 
CriticalSection & getAudioCallbackLock () noexcept
 
CriticalSection & getMidiCallbackLock () noexcept
 
int getXRunCount () const noexcept
 
- Public Member Functions inherited from juce::ChangeBroadcaster
void addChangeListener (ChangeListener *listener)
 
void removeChangeListener (ChangeListener *listener)
 
void removeAllChangeListeners ()
 
void sendChangeMessage ()
 
void sendSynchronousChangeMessage ()
 
void dispatchPendingMessages ()
 

Public Attributes

Engine & engine
 

Detailed Description

Subclass of an AudioDeviceManager which can be used to avoid adding the system audio devices in plugin builds.

See also
EngineBehaviour::addSystemAudioIODeviceTypes

Definition at line 193 of file tracktion_DeviceManager.h.

Constructor & Destructor Documentation

◆ TracktionEngineAudioDeviceManager()

tracktion::engine::DeviceManager::TracktionEngineAudioDeviceManager::TracktionEngineAudioDeviceManager ( Engine &  e)

Definition at line 82 of file tracktion_DeviceManager.cpp.

Member Function Documentation

◆ createAudioDeviceTypes()

void tracktion::engine::DeviceManager::TracktionEngineAudioDeviceManager::createAudioDeviceTypes ( juce::OwnedArray< juce::AudioIODeviceType > &  types)
overridevirtual

Reimplemented from juce::AudioDeviceManager.

Definition at line 84 of file tracktion_DeviceManager.cpp.

Member Data Documentation

◆ engine

Engine& tracktion::engine::DeviceManager::TracktionEngineAudioDeviceManager::engine

Definition at line 198 of file tracktion_DeviceManager.h.


The documentation for this struct was generated from the following files: