AudioContext Suspender 제작자: h43z
Suspending AudioContext instances automatically
사용자 238명사용자 238명
확장 메타 데이터
정보
Many websites seem to be opening AudioContexts (through the Web Audio API https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) without ever suspending them, even if they don't play any sound.
This leads to high CPU utilization and therefore increased energy consumption of your devices. Which can also lead to bluetooth audio problems.
This extension fixes that problem. It automatically suspends newly created AudioContexts after 2 seconds.
The extension resumes an already auto suspended AudioContext for another 2 seconds if it detects that the webpage wants to play another sound.
If a websites needs to play sounds continuously or longer than 2 seconds with the Web Audio API you can disable the extension for the website with a localstorage entry with the key disableAudioContextSuspender and some truthy value.
code: https://github.com/h43z/audiocontextsuspender
created by: x.com/h43z
This leads to high CPU utilization and therefore increased energy consumption of your devices. Which can also lead to bluetooth audio problems.
This extension fixes that problem. It automatically suspends newly created AudioContexts after 2 seconds.
The extension resumes an already auto suspended AudioContext for another 2 seconds if it detects that the webpage wants to play another sound.
If a websites needs to play sounds continuously or longer than 2 seconds with the Web Audio API you can disable the extension for the website with a localstorage entry with the key disableAudioContextSuspender and some truthy value.
code: https://github.com/h43z/audiocontextsuspender
created by: x.com/h43z
7명이 4.7점으로 평가함
권한 및 데이터
추가 정보
- 부가 기능 링크
- 버전
- 1.4
- 크기
- 8.15 KB
- 마지막 업데이트
- 2년 전 (2024년 10월 28일)
- 관련 카테고리
- 버전 목록
- 모음집에 추가