Function getDefaultInputDevice

Synopsis

#include <RtAudio.h>

unsigned int getDefaultInputDevice(void)

Description

A function that returns the index of the default input device.

If the underlying audio API does not provide a "default device", or if no devices are available, the return value will be 0. Note that this is a valid device identifier and it is the client's responsibility to verify that a device is available before attempting to open a stream.

Source

Lines 873-873 in RtAudio.h. Line 490 in RtAudio.h.

inline unsigned int RtAudio :: getDefaultInputDevice( void ) { return rtapi_->getDefaultInputDevice(); }





Add Discussion as Guest

Log in