OpenShot Library | libopenshot  0.3.0
AudioDevices.h
Go to the documentation of this file.
1 
9 // Copyright (c) 2008-2019 OpenShot Studios, LLC
10 //
11 // SPDX-License-Identifier: LGPL-3.0-or-later
12 
13 #ifndef OPENSHOT_AUDIODEVICEINFO_H
14 #define OPENSHOT_AUDIODEVICEINFO_H
15 
16 #include <string>
17 #include <vector>
18 
19 namespace openshot {
25 struct
27  std::string name;
28  std::string type;
29 };
30 
31 using AudioDeviceList = std::vector<std::pair<std::string, std::string>>;
32 
35 {
36 public:
37  AudioDevices() = default;
38 
42 private:
43  AudioDeviceList m_devices;
44 };
45 
46 }
47 #endif
A class which probes the available audio devices.
Definition: AudioDevices.h:35
AudioDeviceList getNames()
This namespace is the default namespace for all code in the openshot library.
Definition: Compressor.h:29
std::vector< std::pair< std::string, std::string > > AudioDeviceList
Definition: AudioDevices.h:31
This struct hold information about Audio Devices.
Definition: AudioDevices.h:26