I’m confused about the relationship between:
tracktion_engine::DeviceManager
juce:AudioDeviceManager
- audio interfaces connected to my machine
My machines has two attached CoreAudio devices. te::DeviceManager::getAvailableDeviceTypes
returns only one device type named Output 1 + 2
When using the te::DeviceManager
how do I select which CoreAudio device is used?
Note: the following loops show that both devices are detected by the juce::AudioDeviceManager
for (auto d : engine.getDeviceManager().deviceManager.getAvailableDeviceTypes()) {
std::cout << d->getTypeName() << std::endl;
d->scanForDevices();
for (auto name : d->getDeviceNames()) {
std::cout << " - " << name << std::endl;
}
}
Prints:
CoreAudio
- Built-in Output
- ZoomAudioDevice
(Both of which are available in Waveform’s Settings -> Audio Devices
page)