Audacity 3.2.0
|
#include "DeviceManager.h"
#include <wx/log.h>
#include <thread>
#include "portaudio.h"
#include "pa_win_wasapi.h"
#include "AudioIOBase.h"
#include "DeviceChange.h"
Go to the source code of this file.
Functions | |
wxString | MakeDeviceSourceString (const DeviceSourceMap *map) |
static int | DummyPaStreamCallback (const void *WXUNUSED(input), void *WXUNUSED(output), unsigned long WXUNUSED(frameCount), const PaStreamCallbackTimeInfo *WXUNUSED(timeInfo), PaStreamCallbackFlags WXUNUSED(statusFlags), void *WXUNUSED(userData)) |
static void | FillHostDeviceInfo (DeviceSourceMap *map, const PaDeviceInfo *info, int deviceIndex, int isInput) |
static void | AddSourcesFromStream (int deviceIndex, const PaDeviceInfo *info, std::vector< DeviceSourceMap > *maps, PaStream *stream) |
static bool | IsInputDeviceAMapperDevice (const PaDeviceInfo *info) |
static void | AddSources (int deviceIndex, int rate, std::vector< DeviceSourceMap > *maps, int isInput) |
|
static |
Definition at line 180 of file DeviceManager.cpp.
References AddSourcesFromStream(), DeviceSourceMap::deviceString, DummyPaStreamCallback(), FillHostDeviceInfo(), DeviceSourceMap::hostString, IsInputDeviceAMapperDevice(), DeviceSourceMap::sourceIndex, DeviceSourceMap::totalSources, and wxT().
Referenced by DeviceManager::Rescan().
|
static |
Definition at line 117 of file DeviceManager.cpp.
References FillHostDeviceInfo(), DeviceSourceMap::sourceIndex, DeviceSourceMap::sourceString, and DeviceSourceMap::totalSources.
Referenced by AddSources().
|
static |
Definition at line 95 of file DeviceManager.cpp.
Referenced by AddSources().
|
static |
Definition at line 105 of file DeviceManager.cpp.
References DeviceSourceMap::deviceIndex, DeviceSourceMap::deviceString, DeviceSourceMap::hostIndex, DeviceSourceMap::hostString, and DeviceSourceMap::numChannels.
Referenced by AddSources(), and AddSourcesFromStream().
|
static |
Definition at line 161 of file DeviceManager.cpp.
Referenced by AddSources().
wxString MakeDeviceSourceString | ( | const DeviceSourceMap * | map | ) |
Definition at line 52 of file DeviceManager.cpp.
References DeviceSourceMap::deviceString, DeviceSourceMap::sourceString, DeviceSourceMap::totalSources, and wxT().
Referenced by DeviceToolBar::ChangeDevice(), AudioSetupToolBar::ChangeDeviceLabel(), AudioSetupToolBar::FillHostDevices(), DeviceToolBar::FillHostDevices(), DevicePrefs::OnHost(), AudioSetupToolBar::UpdatePrefs(), and DeviceToolBar::UpdatePrefs().