Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: Source/modules/webaudio/PannerNode.cpp

Issue 176873003: Remove type of panningModelType "soundfield". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webaudio/PannerNode.h ('k') | Source/modules/webaudio/PannerNode.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/PannerNode.cpp
diff --git a/Source/modules/webaudio/PannerNode.cpp b/Source/modules/webaudio/PannerNode.cpp
index 80e5099488100a0b98b6fe253d10b98f0d5688eb..47e53936ebcab78b2dca20f429458c40df6c1176 100644
--- a/Source/modules/webaudio/PannerNode.cpp
+++ b/Source/modules/webaudio/PannerNode.cpp
@@ -167,8 +167,6 @@ String PannerNode::panningModel() const
return "equalpower";
case HRTF:
return "HRTF";
- case SOUNDFIELD:
- return "soundfield";
default:
ASSERT_NOT_REACHED();
return "HRTF";
@@ -181,8 +179,6 @@ void PannerNode::setPanningModel(const String& model)
setPanningModel(EQUALPOWER);
else if (model == "HRTF")
setPanningModel(HRTF);
- else if (model == "soundfield")
- setPanningModel(SOUNDFIELD);
else
ASSERT_NOT_REACHED();
}
@@ -201,10 +197,6 @@ bool PannerNode::setPanningModel(unsigned model)
m_panningModel = model;
}
break;
- case SOUNDFIELD:
- // FIXME: Implement sound field model. See // https://bugs.webkit.org/show_bug.cgi?id=77367.
- context()->executionContext()->addConsoleMessage(JSMessageSource, WarningMessageLevel, "'soundfield' panning model not implemented.");
- break;
default:
return false;
}
« no previous file with comments | « Source/modules/webaudio/PannerNode.h ('k') | Source/modules/webaudio/PannerNode.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698