Skip to content

Commit

Permalink
🐛 Change default sample rate to 44100 for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmcgregor committed Nov 16, 2016
1 parent e63607b commit e0d2412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e0d2412

Please sign in to comment.