/*! \page probe Probing Device Capabilities A programmer may wish to query the available audio device capabilities before deciding which to use. The following example outlines how this can be done. RtAudio creates its own device IDs for each device and these values will remain valid for a given instance of the class, no matter whether new devices are plugged in or previously available devices are removed. \code // audioprobe.cpp #include #include "RtAudio.h" int main() { RtAudio audio; // Get the list of device IDs std::vector< unsigned int > ids = audio.getDeviceIds(); if ( ids.size() == 0 ) { std::cout << "No devices found." << std::endl; return 0; } // Scan through devices for various capabilities RtAudio::DeviceInfo info; for ( unsigned int n=0; n