搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Why is audio recording using WebAudio API not working in Firefox using a 22kHz USB audio device?

  • 2 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 prie

more options

USB audio devices with 22kHz sampling rate don´t work as audio recording devices in Firefox using WebAudio API (e.g. https://webaudiodemos.appspot.com/AudioRecorder/index.html). 16kHz and 44kHz devices work fine. However, in Chrome, all of them work fine, regardless of the sampling rate. Can this be fixed?

USB audio devices with 22kHz sampling rate don´t work as audio recording devices in Firefox using WebAudio API (e.g. https://webaudiodemos.appspot.com/AudioRecorder/index.html). 16kHz and 44kHz devices work fine. However, in Chrome, all of them work fine, regardless of the sampling rate. Can this be fixed?

所有回覆 (2)

more options

Do know that Microsoft can and will change your hardware drivers. (happened to me 5mins after updating my sound card drivers.) Check in Device Manager to see if any changes have been made. https://www.howtogeek.com/302595/how-to-stop-windows-10-from-automatically-updating-hardware-drivers/

Can try https://support.mozilla.org/en-US/kb/fix-video-audio-problems-firefox-windows and https://support.mozilla.org/en-US/kb/html5-audio-and-video-firefox and https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode

Further info : https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API might want to just check out the page/s https://www.google.ca/search?q=firefox+WebAudio+API&ie=utf-8&oe=utf-8&gws_rd=cr&dcr=0&ei=k5rpWc-wN8Ll0gK1vJiwDA

Please let us know if this solved your issue or if need further assistance.

由 Shadow110 於 修改

more options

Thanks for having a look into my issue. However, none of your suggestions solved it. Microsoft provides hardware drivers for my USB Audio device (it´s a Philips SpeechMike) anyway, so it can´t change drivers I have installed (because I never did that). It´s just, WebAudio in Firefox works with 44kHz and 16kHz devices, but it does not work with 22kHz devices. Chrome works with all of them.