Mute button + RT shows up immediately now in Windows Mixer

see issue 803
This commit is contained in:
Oliver Duis
2011-06-28 19:44:22 +02:00
parent 47cd6fc04e
commit 58efd5c861
8 changed files with 41 additions and 2 deletions

View File

@@ -147,6 +147,7 @@ void Options::setDefaults () {
cutOverlayBrush = std::vector<double> (4);
cutOverlayBrush[3] = 0.667; // :-p
sndEnable=true;
sndLngEditProcDoneSecs=3.0;
int babehav[] = {
@@ -389,6 +390,7 @@ if (keyFile.has_group ("Batch Processing")) {
}
if (keyFile.has_group ("Sounds")) {
if (keyFile.has_key ("Sounds", "Enable")) sndEnable = keyFile.get_boolean ("Sounds", "Enable");
if (keyFile.has_key ("Sounds", "BatchQueueDone")) sndBatchQueueDone = keyFile.get_string ("Sounds", "BatchQueueDone");
if (keyFile.has_key ("Sounds", "LngEditProcDone")) sndLngEditProcDone = keyFile.get_string ("Sounds", "LngEditProcDone");
if (keyFile.has_key ("Sounds", "LngEditProcDoneSecs")) sndLngEditProcDoneSecs = keyFile.get_double ("Sounds", "LngEditProcDoneSecs");
@@ -543,6 +545,7 @@ int Options::saveToFile (Glib::ustring fname) {
Glib::ArrayHandle<int> bab = baBehav;
keyFile.set_integer_list ("Batch Processing", "AdjusterBehavior", bab);
keyFile.set_boolean ("Sounds", "Enable", sndEnable);
keyFile.set_string ("Sounds", "BatchQueueDone", sndBatchQueueDone);
keyFile.set_string ("Sounds", "LngEditProcDone", sndLngEditProcDone);
keyFile.set_double ("Sounds", "LngEditProcDoneSecs", sndLngEditProcDoneSecs);