ejci / Chrome-Audio-EQ

Audio EQ for Chrome
GNU General Public License v2.0
107 stars 40 forks source link

Warning: 'webkitAudioContext' is deprecated. Please use 'AudioContext' instead. #24

Closed anfinil closed 9 years ago

anfinil commented 9 years ago

MacOS 10.10. Chrome Version 41.0.2272.89 (64-bit).

skylize commented 9 years ago

Looks like this is already fixed in master. If you want to fix your local copy from the Web Store you can make a minor change to page.js.

Hover your mouse over "page.js" in the Console Warning to find the extension id.

In the Chrome temp folder (don't know it's location on Mac) go to ./User Data/Default/Extensions/{ExtensionId}/{MostRecentVersion}/page/page.js

Somewhere around line 18 or 19, make this change:

// look for
this.AudioContext = new webKitAudioContext()

// replace with
this.AudioContext = new AudioContext()

Disable, then Enable the extension to refresh. Warning gone, everything works as expected. Likely a minor performance boost too.

ejci commented 9 years ago

I pushed the fix long time ago. I just need to publish new version