[ekiga] Save the desired primary audio output device across calls



commit 7deb8053eb0876bd2fb67b70177dda45b104fd66
Author: Michael Rickmann <mrickma gwdg de>
Date:   Tue Sep 1 11:09:47 2009 +0200

    Save the desired primary audio output device across calls

 lib/engine/audiooutput/audiooutput-core.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/audiooutput/audiooutput-core.cpp b/lib/engine/audiooutput/audiooutput-core.cpp
index cc2bdad..785ccc2 100644
--- a/lib/engine/audiooutput/audiooutput-core.cpp
+++ b/lib/engine/audiooutput/audiooutput-core.cpp
@@ -248,6 +248,8 @@ void AudioOutputCore::start (unsigned channels, unsigned samplerate, unsigned bi
     return;
   }
 
+  internal_set_manager(primary, desired_primary_device);    /* may be left undetermined after the last call */
+
   average_level = 0;
   internal_open(primary, channels, samplerate, bits_per_sample);
   current_primary_config.active = true;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]