diff options
Diffstat (limited to 'mail/thunderbird/files/patch-mozilla-content-media-nsAudioStream.cpp')
-rw-r--r-- | mail/thunderbird/files/patch-mozilla-content-media-nsAudioStream.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/thunderbird/files/patch-mozilla-content-media-nsAudioStream.cpp b/mail/thunderbird/files/patch-mozilla-content-media-nsAudioStream.cpp new file mode 100644 index 0000000..f31ba35 --- /dev/null +++ b/mail/thunderbird/files/patch-mozilla-content-media-nsAudioStream.cpp @@ -0,0 +1,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) { |