summaryrefslogtreecommitdiff
path: root/dom/media/GraphDriver.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-03-21 16:15:54 +0000
committerMoonchild <moonchild@palemoon.org>2021-03-21 16:15:54 +0000
commitd1231c772410fd847a459cc5d92591555f90fcd7 (patch)
treed895127d670bb13d41ec6de6234cbd8ef3362932 /dom/media/GraphDriver.cpp
parent445160942586b73bd2d8d21bfb728aa2bcee51e0 (diff)
downloadaura-central-d1231c772410fd847a459cc5d92591555f90fcd7.tar.gz
Issue mcp-graveyard/UXP%1053 - Remove __ANDROID__ defines (except in third party code)
Diffstat (limited to 'dom/media/GraphDriver.cpp')
-rw-r--r--dom/media/GraphDriver.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/dom/media/GraphDriver.cpp b/dom/media/GraphDriver.cpp
index fe40c82e2..e8b71a231 100644
--- a/dom/media/GraphDriver.cpp
+++ b/dom/media/GraphDriver.cpp
@@ -630,15 +630,7 @@ AudioCallbackDriver::Init()
mSampleRate = output.rate = CubebUtils::PreferredSampleRate();
-#if defined(__ANDROID__)
- output.stream_type = CUBEB_STREAM_TYPE_MUSIC;
- if (output.stream_type == CUBEB_STREAM_TYPE_MAX) {
- NS_WARNING("Bad stream type");
- return;
- }
-#else
(void)mAudioChannel;
-#endif
output.channels = mGraphImpl->AudioChannelCount();
if (AUDIO_OUTPUT_FORMAT == AUDIO_FORMAT_S16) {