| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 253 |
| 254 void AnalyserNode::setSmoothingTimeConstant(double smoothingTime, | 254 void AnalyserNode::setSmoothingTimeConstant(double smoothingTime, |
| 255 ExceptionState& exceptionState) { | 255 ExceptionState& exceptionState) { |
| 256 analyserHandler().setSmoothingTimeConstant(smoothingTime, exceptionState); | 256 analyserHandler().setSmoothingTimeConstant(smoothingTime, exceptionState); |
| 257 } | 257 } |
| 258 | 258 |
| 259 double AnalyserNode::smoothingTimeConstant() const { | 259 double AnalyserNode::smoothingTimeConstant() const { |
| 260 return analyserHandler().smoothingTimeConstant(); | 260 return analyserHandler().smoothingTimeConstant(); |
| 261 } | 261 } |
| 262 | 262 |
| 263 void AnalyserNode::getFloatFrequencyData(DOMFloat32Array* array) { | 263 void AnalyserNode::getFloatFrequencyData(NotShared<DOMFloat32Array> array) { |
| 264 analyserHandler().getFloatFrequencyData(array, context()->currentTime()); | 264 analyserHandler().getFloatFrequencyData(array.view(), |
| 265 context()->currentTime()); |
| 265 } | 266 } |
| 266 | 267 |
| 267 void AnalyserNode::getByteFrequencyData(DOMUint8Array* array) { | 268 void AnalyserNode::getByteFrequencyData(NotShared<DOMUint8Array> array) { |
| 268 analyserHandler().getByteFrequencyData(array, context()->currentTime()); | 269 analyserHandler().getByteFrequencyData(array.view(), |
| 270 context()->currentTime()); |
| 269 } | 271 } |
| 270 | 272 |
| 271 void AnalyserNode::getFloatTimeDomainData(DOMFloat32Array* array) { | 273 void AnalyserNode::getFloatTimeDomainData(NotShared<DOMFloat32Array> array) { |
| 272 analyserHandler().getFloatTimeDomainData(array); | 274 analyserHandler().getFloatTimeDomainData(array.view()); |
| 273 } | 275 } |
| 274 | 276 |
| 275 void AnalyserNode::getByteTimeDomainData(DOMUint8Array* array) { | 277 void AnalyserNode::getByteTimeDomainData(NotShared<DOMUint8Array> array) { |
| 276 analyserHandler().getByteTimeDomainData(array); | 278 analyserHandler().getByteTimeDomainData(array.view()); |
| 277 } | 279 } |
| 278 | 280 |
| 279 } // namespace blink | 281 } // namespace blink |
| OLD | NEW |