summaryrefslogtreecommitdiffstats
path: root/mail/thunderbird/files/patch-mozilla-content-media-nsAudioStream.cpp
blob: f31ba356b0ab6719efbc833a81ebab230555c094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- mozilla/content/media/nsAudioStream.cpp~
+++ mozilla/content/media/nsAudioStream.cpp
@@ -298,7 +298,11 @@ static int PrefChanged(const char* aPref
       gVolumeScale = NS_MAX<double>(0, PR_strtod(utf8.get(), nsnull));
     }
   } else if (strcmp(aPref, PREF_USE_CUBEB) == 0) {
+#if defined(__FreeBSD__) && __FreeBSD_version < 800097
+    bool value = Preferences::GetBool(aPref, false);
+#else
     bool value = Preferences::GetBool(aPref, true);
+#endif
     mozilla::MutexAutoLock lock(*gAudioPrefsLock);
     gUseCubeb = value;
   } else if (strcmp(aPref, PREF_CUBEB_LATENCY) == 0) {
OpenPOWER on IntegriCloud