Adds portaudio sources [adds hotplug support for pa_linux_alsa,
pa_mac_core, plus some other tweaks] damencho committed on Mar 29, 2012 d2076b1 from https://github.com/jitsi/libsrc/commits/master/portaudio.zip
This commit is contained in:
parent
d13fcd8ea9
commit
b77a1f828c
17 changed files with 671 additions and 125 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "portaudio.h"
|
||||
|
||||
|
|
@ -33,9 +34,10 @@ int main(int argc, char* argv[])
|
|||
|
||||
for(;;){
|
||||
printDevices();
|
||||
|
||||
|
||||
printf( "press [enter] to update the device list. or q + [enter] to quit.\n" );
|
||||
if( getchar() == 'q' )
|
||||
char ch = getchar();
|
||||
if( ch == 'q' )
|
||||
break;
|
||||
|
||||
Pa_UpdateAvailableDeviceList();
|
||||
|
|
|
|||
Loading…
Reference in a new issue