/** * Automated SDL_RWops test. * * Written by Edgar Simo "bobbens" * * Released under Public Domain. */ #include "SDL.h" #include "../SDL_at.h" /** * @brief Prints available devices. */ static int audio_printDevices( int iscapture ) { int i, n; /* Get number of devices. */ n = SDL_GetNumAudioDevices(iscapture); SDL_ATprintVerbose( 1, "%d %s Audio Devices\n", n, iscapture ? "Capture" : "Output" ); /* List devices. */ for (i=0; i