title: Webaudio sound stops on Chrome for Android after about 2 minutes
body: <p>I'm running into an issue with WebAudio on Chrome for Android. </p>
  
  <p>I'm experiencing this on a Samsung Galaxy S3 (GT-I9300) with:</p>
  
  <ul>
  <li>Chrome version 44.0.2403.133 </li>
  <li>Android 4.3.0 </li>
  </ul>
  
  <p>Here is the code I'm using to try and isolate the issue:</p>
  
  <pre><code>var audioContext;
  if(window.AudioContext) {
      audioContext = new AudioContext();
  }
  
  var startTime = Date.now();
  var lastTrigger;
  
  var gain = audioContext.createGain();
  gain.gain.value = 1;
  gain.connect(audioContext.destination);
  
  var buttonTrigger = document.getElementById('trigger');
  buttonTrigger.addEventListener('click', function(event) {
      var oscillator =  audioContext.createOscillator();
      oscillator.type = "square";
      oscillator.frequency.value = 100 +  (Math.cos(audioContext.currentTime)*100);
      oscillator.connect(gain);
      oscillator.start(0);
      oscillator.stop(audioContext.currentTime+0.1);
  
      lastTrigger = Date.now();
  });
  
  var timer = document.getElementById('timer');
  setInterval(function() {
      if(lastTrigger) { timer.textContent = Date.now() - lastTrigger; }
  }, 1000);
  </code></pre>
  
  <p>And here it is on <a href="http://jsfiddle.net/2vzze21L/1/" rel="nofollow">jsfiddle</a></p>
  
  <p>This simply creates an oscillator node and plays on clicking a button. On my phone, if I do not click the button for about a minute and a half or two minutes, I no longer get any sound. </p>
  
  <p>There are no errors thrown. </p>
  
  <p>Does anyone have any experience of this issue and a possible workaround?</p>
  
  <p>This issue originally appeared in a much larger app using Phaser to play sounds from a m4a file, so this is not solely to do with the oscillator. </p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>According to the <a href="https://code.google.com/p/chromium/issues/detail?id=518863" rel="nofollow">Chromium bug ticket</a> this issue has now been fixed.</p>