Skip to content
  • commit-queue@webkit.org's avatar
    Remove AudioGain.idl from compilation. · a8e2d43b
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=112650
    
    Patch by Praveen R Jadhav <praveen.j@samsung.com> on 2013-03-21
    Reviewed by Chris Rogers.
    
    Source/WebCore:
    
    Spec: https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNode
          https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBufferSourceNode
    
    AudioParam serves the same purpose as AudioGain. Infact, AudioGain inherits
    AudioParam class and doesn't have its own member functions/parameters. Also,
    AudioGain is not part of WebAudio W3C specifications.
    
    Test: webaudio/gain-basic.html
    
    * CMakeLists.txt:
    * DerivedSources.make:
    * DerivedSources.pri:
    * GNUmakefile.list.am:
    * Modules/webaudio/AudioBufferSourceNode.cpp:
    (WebCore::AudioBufferSourceNode::AudioBufferSourceNode):
    * Modules/webaudio/AudioBufferSourceNode.h:
    (AudioBufferSourceNode):
    (WebCore::AudioBufferSourceNode::gain):
    * Modules/webaudio/AudioBufferSourceNode.idl:
    * Modules/webaudio/AudioGain.h: Removed.
    * Modules/webaudio/AudioGain.idl: Removed.
    * Modules/webaudio/GainNode.cpp:
    (WebCore::GainNode::GainNode):
    * Modules/webaudio/GainNode.h:
    (WebCore):
    (WebCore::GainNode::create):
    (GainNode):
    (WebCore::GainNode::gain):
    * Modules/webaudio/GainNode.idl:
    * Modules/webaudio/PannerNode.cpp:
    (WebCore::PannerNode::PannerNode):
    * Modules/webaudio/PannerNode.h:
    (WebCore::PannerNode::distanceGain):
    (WebCore::PannerNode::coneGain):
    * Target.pri:
    * WebCore.gypi:
    * WebCore.xcodeproj/project.pbxproj:
    
    LayoutTests:
    
    Test to verify GainNode attributes.
    
    * webaudio/gain-basic-expected.txt: Added.
    * webaudio/gain-basic.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a8e2d43b