Changeset View
Changeset View
Standalone View
Standalone View
www/firefox/files/patch-z-bug517422
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Lines | |||||
+#endif | +#endif | ||||
mTimeStretcher->setSampleRate(mAudioClock.GetInputRate()); | mTimeStretcher->setSampleRate(mAudioClock.GetInputRate()); | ||||
mTimeStretcher->setChannels(mOutChannels); | mTimeStretcher->setChannels(mOutChannels); | ||||
mTimeStretcher->setPitch(1.0); | mTimeStretcher->setPitch(1.0); | ||||
diff --git dom/media/AudioStream.h dom/media/AudioStream.h | diff --git dom/media/AudioStream.h dom/media/AudioStream.h | ||||
index 7dc1f60f95cc..67d402a4117f 100644 | index 7dc1f60f95cc..67d402a4117f 100644 | ||||
--- dom/media/AudioStream.h | --- dom/media/AudioStream.h | ||||
+++ dom/media/AudioStream.h | +++ dom/media/AudioStream.h | ||||
@@ -15,7 +15,11 @@ | @@ -16,7 +16,11 @@ | ||||
#include "mozilla/TimeStamp.h" | #include "nsAutoPtr.h" | ||||
#include "mozilla/UniquePtr.h" | #include "nsCOMPtr.h" | ||||
#include "CubebUtils.h" | #include "nsThreadUtils.h" | ||||
+#ifdef MOZ_SYSTEM_SOUNDTOUCH | +#ifdef MOZ_SYSTEM_SOUNDTOUCH | ||||
+#include "soundtouch/SoundTouch.h" | +#include "soundtouch/SoundTouch.h" | ||||
+#else | +#else | ||||
#include "soundtouch/SoundTouchFactory.h" | #include "soundtouch/SoundTouchFactory.h" | ||||
+#endif | +#endif | ||||
#if defined(XP_WIN) | #if defined(XP_WIN) | ||||
#include "mozilla/audio/AudioNotificationReceiver.h" | #include "mozilla/audio/AudioNotificationReceiver.h" | ||||
▲ Show 20 Lines • Show All 350 Lines • Show Last 20 Lines |