Changeset 264508 in webkit
- Timestamp:
- Jul 17, 2020, 7:34:39 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r264501 r264508 1 2020-07-17 Joonghun Park <jh718.park@samsung.com> 2 3 Remove the build warning below and redundant spaces since r263985. 4 warning: redundant move in return statement [-Wredundant-move] 5 6 No new tests, no new behaviors. 7 8 * Modules/webaudio/AudioNode.h: 9 * Modules/webaudio/PannerNode.cpp: 10 (WebCore::PannerNode::create): 11 (WebCore::PannerNode::PannerNode): 12 * Modules/webaudio/PannerNode.h: 13 1 14 2020-07-16 Rob Buis <rbuis@igalia.com> 2 15 -
trunk/Source/WebCore/Modules/webaudio/AudioNode.h
r264176 r264508 211 211 NodeType m_nodeType { NodeTypeUnknown }; 212 212 Ref<BaseAudioContext> m_context; 213 213 214 214 // FIXME: Remove m_sampleRate once old constructor is removed. 215 215 float m_sampleRate; 216 216 217 217 Vector<std::unique_ptr<AudioNodeInput>> m_inputs; 218 218 Vector<std::unique_ptr<AudioNodeOutput>> m_outputs; -
trunk/Source/WebCore/Modules/webaudio/PannerNode.cpp
r264342 r264508 98 98 if (result.hasException()) 99 99 return result.releaseException(); 100 100 101 101 result = panner->setRefDistance(options.refDistance); 102 102 if (result.hasException()) 103 103 return result.releaseException(); 104 104 105 105 result = panner->setRolloffFactor(options.rolloffFactor); 106 106 if (result.hasException()) 107 107 return result.releaseException(); 108 108 109 109 result = panner->setConeOuterGain(options.coneOuterGain); 110 110 if (result.hasException()) 111 111 return result.releaseException(); 112 112 113 113 result = panner->setChannelCount(options.channelCount.valueOr(2)); 114 114 if (result.hasException()) 115 115 return result.releaseException(); 116 116 117 117 result = panner->setChannelCountMode(options.channelCountMode.valueOr(ChannelCountMode::ClampedMax)); 118 118 if (result.hasException()) 119 119 return result.releaseException(); 120 120 121 121 result = panner->setChannelInterpretation(options.channelInterpretation.valueOr(ChannelInterpretation::Speakers)); 122 122 if (result.hasException()) 123 123 return result.releaseException(); 124 125 return WTFMove(panner);124 125 return panner; 126 126 } 127 127 … … 144 144 setConeOuterAngle(options.coneOuterAngle); 145 145 setNodeType(NodeTypePanner); 146 146 147 147 addInput(makeUnique<AudioNodeInput>(this)); 148 148 addOutput(makeUnique<AudioNodeOutput>(this, 2)); 149 149 150 150 initialize(); 151 151 } -
trunk/Source/WebCore/Modules/webaudio/PannerNode.h
r264176 r264508 52 52 53 53 protected: 54 54 55 55 // FIXME: Remove once dependencies on old constructor are removed 56 56 PannerNodeBase(BaseAudioContext&, float sampleRate); … … 73 73 return adoptRef(*new PannerNode(context, sampleRate)); 74 74 } 75 75 76 76 static ExceptionOr<Ref<PannerNode>> create(BaseAudioContext&, const PannerOptions& = { }); 77 77 78 78 virtual ~PannerNode(); 79 79
Note:
See TracChangeset
for help on using the changeset viewer.