24 std::unique_ptr<juce::AudioDeviceManager>
25 manager(
new juce::AudioDeviceManager());
29 auto &types = manager->getAvailableDeviceTypes();
30 for (
auto* t : types) {
32 const auto names = t->getDeviceNames();
33 for (
const auto& name : names) {
34 m_devices.emplace_back(
35 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