# HG changeset patch # User Nicholas Jillings # Date 1450894779 0 # Node ID dd7f5b4d3b4ea30e22b0f86f6e2eec0deeaba2ce # Parent 86f371ddcb87c2f0d2de6af5037ab93ecfa7e226 Changed AudioBuffer.gain to be AudioBuffer.playbackGain to bypass Safari not using up-to-date Web Audio API Specification. diff -r 86f371ddcb87 -r dd7f5b4d3b4e core.js --- a/core.js Wed Dec 23 17:17:36 2015 +0000 +++ b/core.js Wed Dec 23 18:19:39 2015 +0000 @@ -20,7 +20,7 @@ // Add a prototype to the bufferSourceNode to reference to the audioObject holding it AudioBufferSourceNode.prototype.owner = undefined; // Add a prototype to the bufferNode to hold the desired LINEAR gain -AudioBuffer.prototype.gain = undefined; +AudioBuffer.prototype.playbackGain = undefined; // Add a prototype to the bufferNode to hold the computed LUFS loudness AudioBuffer.prototype.lufs = undefined; @@ -400,7 +400,7 @@ for (var i=0; i