summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-02-01 00:43:14 +0000
committerCarl Hetherington <cth@carlh.net>2018-02-01 00:43:14 +0000
commitf13af47b76e746280e5883a9f79983501875de61 (patch)
tree8c45abba4dbbfc707b5fbc625bed2551bb167182 /src/lib
parent03dba08f2f8be761b644e7837f64764faef1e5ab (diff)
Enable audio by default.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/config.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index e5fd9d17a..6ae850bff 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -129,7 +129,7 @@ Config::set_defaults ()
for (int i = 0; i < NAG_COUNT; ++i) {
_nagged[i] = false;
}
- _sound = false;
+ _sound = true;
_sound_output = optional<string> ();
_last_kdm_write_type = KDM_WRITE_FLAT;
@@ -368,7 +368,7 @@ try
}
}
/* The variable was renamed but not the XML tag */
- _sound = f.optional_bool_child("PreviewSound").get_value_or (false);
+ _sound = f.optional_bool_child("PreviewSound").get_value_or (true);
_sound_output = f.optional_string_child("PreviewSoundOutput");
if (f.optional_string_child("CoverSheet")) {
_cover_sheet = f.optional_string_child("CoverSheet").get();