Give more priority to PulseAudio api (#129)
authorMarcelo Fernandez <marcelofg55@gmail.com>
Tue, 20 Mar 2018 15:40:16 +0000 (12:40 -0300)
committerStephen Sinclair <radarsat1@users.noreply.github.com>
Tue, 20 Mar 2018 15:40:16 +0000 (12:40 -0300)
RtAudio.cpp

index 2ac217965462a166d6b9516ec06726f90c394446..e7a28362c37c1de9ce6c40369cdba94f5cc8f4d1 100644 (file)
@@ -107,12 +107,12 @@ void RtAudio :: getCompiledApi( std::vector<RtAudio::Api> &apis )
 #if defined(__UNIX_JACK__)
   apis.push_back( UNIX_JACK );
 #endif
-#if defined(__LINUX_ALSA__)
-  apis.push_back( LINUX_ALSA );
-#endif
 #if defined(__LINUX_PULSE__)
   apis.push_back( LINUX_PULSE );
 #endif
+#if defined(__LINUX_ALSA__)
+  apis.push_back( LINUX_ALSA );
+#endif
 #if defined(__LINUX_OSS__)
   apis.push_back( LINUX_OSS );
 #endif