Audacity  2.2.0
DeviceManager.cpp File Reference
#include "portaudio.h"
#include "Audacity.h"
#include <wx/wxprec.h>
#include <wx/choice.h>
#include <wx/event.h>
#include <wx/intl.h>
#include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/statbmp.h>
#include <wx/tooltip.h>
#include "Project.h"
#include "AudioIO.h"
#include "DeviceChange.h"
#include "DeviceManager.h"
#include "toolbars/DeviceToolBar.h"
#include "Experimental.h"

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)
 

Function Documentation

static void AddSourcesFromStream ( int  deviceIndex,
const PaDeviceInfo *  info,
std::vector< DeviceSourceMap > *  maps,
PaStream *  stream 
)
static
static int DummyPaStreamCallback ( const void *  WXUNUSEDinput,
void *  WXUNUSEDoutput,
unsigned long   WXUNUSEDframeCount,
const PaStreamCallbackTimeInfo *  WXUNUSEDtimeInfo,
PaStreamCallbackFlags   WXUNUSEDstatusFlags,
void *  WXUNUSEDuserData 
)
static

Referenced by AddSources().

static void FillHostDeviceInfo ( DeviceSourceMap map,
const PaDeviceInfo *  info,
int  deviceIndex,
int  isInput 
)
static
static bool IsInputDeviceAMapperDevice ( const PaDeviceInfo *  info)
static

Referenced by AddSources().