summaryrefslogtreecommitdiff
path: root/dom/media/GraphDriver.cpp
diff options
context:
space:
mode:
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 fe40c82e24..e8b71a2318 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) {