diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-01 00:43:14 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-01 00:43:14 +0000 |
| commit | f13af47b76e746280e5883a9f79983501875de61 (patch) | |
| tree | 8c45abba4dbbfc707b5fbc625bed2551bb167182 /src/lib | |
| parent | 03dba08f2f8be761b644e7837f64764faef1e5ab (diff) | |
Enable audio by default.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/config.cc | 4 |
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(); |
