From e0d24124fa755d8cf9b7b2a4d0046a024ab57682 Mon Sep 17 00:00:00 2001 From: Ian McGregor Date: Wed, 16 Nov 2016 15:37:07 +0000 Subject: [PATCH] :bug: Change default sample rate to 44100 for iOS --- src/lib/utils/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/browser.js b/src/lib/utils/browser.js index 3a36140..159e296 100644 --- a/src/lib/utils/browser.js +++ b/src/lib/utils/browser.js @@ -40,7 +40,7 @@ browser.handleTouchLock = function(context, onUnlock) { if (context && context.state === 'suspended') { context.resume() .then(function() { - const buffer = context.createBuffer(1, 1, 22050); + const buffer = context.createBuffer(1, 1, 44100); const source = context.createBufferSource(); source.buffer = buffer; source.connect(context.destination);