[ekiga/gnome-2-26] Revert "Keep the output sound volume across calls"
- From: Eugen Dedu <ededu src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [ekiga/gnome-2-26] Revert "Keep the output sound volume across calls"
- Date: Tue, 1 Sep 2009 09:02:58 +0000 (UTC)
commit 57002aff0a953fc0dc04abc5d300310b3aebebe3
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Tue Sep 1 11:02:29 2009 +0200
Revert "Keep the output sound volume across calls"
This reverts commit a283d5dac56b734777141b5328110317a6b6bc0a.
lib/engine/audiooutput/audiooutput-core.cpp | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/lib/engine/audiooutput/audiooutput-core.cpp b/lib/engine/audiooutput/audiooutput-core.cpp
index 183423d..4283267 100644
--- a/lib/engine/audiooutput/audiooutput-core.cpp
+++ b/lib/engine/audiooutput/audiooutput-core.cpp
@@ -361,16 +361,9 @@ void AudioOutputCore::play_buffer(AudioOutputPS ps, const char* buffer, unsigned
void AudioOutputCore::on_device_opened (AudioOutputPS ps,
AudioOutputDevice device,
- AudioOutputSettings settings,
+ AudioOutputSettings settings,
AudioOutputManager *manager)
{
-#ifdef WIN32
- /* update the current volume to the desired one */
- if (ps == primary) {
- current_primary_volume = settings.volume;
- settings.volume = desired_primary_volume;
- }
-#endif
device_opened.emit (*manager, ps, device, settings);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]