[ekiga/gnome-2-26] Save the desired primary audio output device across calls



commit a7631fa5f06a440898b789d3e2a10128774dc593
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 4283267..6e5f624 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]