16 #include <OpenShotAudio.h>
26 std::unique_ptr<juce::AudioDeviceManager>
27 manager(
new juce::AudioDeviceManager());
31 auto &types = manager->getAvailableDeviceTypes();
32 for (
auto* t : types) {
34 const auto names = t->getDeviceNames();
35 for (
const auto& name : names) {
36 m_devices.emplace_back(
37 name.toStdString(), t->getTypeName().toStdString());
std::vector< std::pair< std::string, std::string > > AudioDeviceList
Header file for Audio Device Info struct.
AudioDeviceList getNames()
This namespace is the default namespace for all code in the openshot library.
std::vector< std::pair< std::string, std::string > > AudioDeviceList