diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 14:32:03 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 14:32:03 +0200 |
commit | b7d9dad58e5a3f87a6c767412941700bc8010044 (patch) | |
tree | f5e99b3029cf54409ae5951e9e91cca3a54addc7 /dom/media/GraphDriver.cpp | |
parent | 73cdd6117df7c17b76aad93952cf574c494351aa (diff) | |
download | UXP-b7d9dad58e5a3f87a6c767412941700bc8010044.tar UXP-b7d9dad58e5a3f87a6c767412941700bc8010044.tar.gz UXP-b7d9dad58e5a3f87a6c767412941700bc8010044.tar.lz UXP-b7d9dad58e5a3f87a6c767412941700bc8010044.tar.xz UXP-b7d9dad58e5a3f87a6c767412941700bc8010044.zip |
Remove MOZ_B2G leftovers and some dead B2G-only components.
Diffstat (limited to 'dom/media/GraphDriver.cpp')
-rw-r--r-- | dom/media/GraphDriver.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dom/media/GraphDriver.cpp b/dom/media/GraphDriver.cpp index 40e3b72cf..cae15eb8c 100644 --- a/dom/media/GraphDriver.cpp +++ b/dom/media/GraphDriver.cpp @@ -640,11 +640,7 @@ AudioCallbackDriver::Init() mSampleRate = output.rate = CubebUtils::PreferredSampleRate(); #if defined(__ANDROID__) -#if defined(MOZ_B2G) - output.stream_type = CubebUtils::ConvertChannelToCubebType(mAudioChannel); -#else output.stream_type = CUBEB_STREAM_TYPE_MUSIC; -#endif if (output.stream_type == CUBEB_STREAM_TYPE_MAX) { NS_WARNING("Bad stream type"); return; |