18#ifndef __AUDACITY_DEVICEMANAGER__
19#define __AUDACITY_DEVICEMANAGER__
43#if defined(EXPERIMENTAL_DEVICE_CHANGE_HANDLER) && defined(HAVE_DEVICE_CHANGE)
44: public DeviceChangeHandler
58 std::chrono::duration<float> GetTimeSinceRescan();
63 const std::vector<DeviceSourceMap> &GetInputDeviceMaps();
64 const std::vector<DeviceSourceMap> &GetOutputDeviceMaps();
66#if defined(EXPERIMENTAL_DEVICE_CHANGE_HANDLER)
67#if defined(HAVE_DEVICE_CHANGE)
69 void DeviceChangeNotification();
74 std::chrono::time_point<std::chrono::steady_clock>
mRescanTime;
AUDIO_DEVICES_API wxString MakeDeviceSourceString(const DeviceSourceMap *map)
struct DeviceSourceMap DeviceSourceMap
A singleton that manages the audio devices known to Audacity.
std::chrono::time_point< std::chrono::steady_clock > mRescanTime
std::vector< DeviceSourceMap > mOutputDeviceSourceMaps
std::vector< DeviceSourceMap > mInputDeviceSourceMaps
An object that sends messages to an open-ended list of subscribed callbacks.