$NetBSD: patch-dom_media_AudioStream.h,v 1.1 2017/04/27 01:55:57 ryoon Exp $ --- dom/media/AudioStream.h.orig 2016-10-31 20:15:33.000000000 +0000 +++ dom/media/AudioStream.h @@ -16,7 +16,11 @@ #include "mozilla/TimeStamp.h" #include "mozilla/UniquePtr.h" #include "CubebUtils.h" +#ifdef MOZ_SYSTEM_SOUNDTOUCH +#include "soundtouch/SoundTouch.h" +#else #include "soundtouch/SoundTouchFactory.h" +#endif namespace mozilla { @@ -282,7 +286,11 @@ private: uint32_t mChannels; uint32_t mOutChannels; AudioClock mAudioClock; +#ifdef MOZ_SYSTEM_SOUNDTOUCH + nsAutoPtr mTimeStretcher; +#else soundtouch::SoundTouch* mTimeStretcher; +#endif // Output file for dumping audio FILE* mDumpFile;