OSDN Git Service

Save inworld sound setting in config
authorMojito Sorbet <mojitotech@gmail.com>
Sun, 30 May 2010 13:57:30 +0000 (13:57 +0000)
committerMojito Sorbet <mojitotech@gmail.com>
Sun, 30 May 2010 13:57:30 +0000 (13:57 +0000)
git-svn-id: https://radegast.googlecode.com/svn/branches/sounds@661 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/GUI/Consoles/MediaConsole.cs

index 6fb4ef4..9a11f1b 100644 (file)
@@ -200,6 +200,8 @@ namespace Radegast
             s["parcel_audio_vol"] = OSD.FromReal(audioVolume);
             s["parcel_audio_play"] = OSD.FromBoolean(cbPlayAudioStream.Checked);
             s["parcel_audio_keep_url"] = OSD.FromBoolean(cbKeep.Checked);
+            s["object_audio_vol"] = OSD.FromReal(this.instance.MediaManager.ObjectVolume);
+            s["object_audio_enable"] = OSD.FromBoolean(ObjSoundEnable.Checked);
         }
 
         #region GUI event handlers