Firefox: Revert audio processing disabled.

This commit is contained in:
Dmitry Voronin 2024-10-19 04:08:57 +03:00
parent 5d23a8d9bb
commit 94d5059c98
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 44 additions and 44 deletions

View file

@ -82,16 +82,16 @@ let
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
// Disable auto gain for the mic. // Disable auto gain for the mic.
user_pref("media.getusermedia.audio.processing.aec", 0); // user_pref("media.getusermedia.audio.processing.aec", 0);
user_pref("media.getusermedia.audio.processing.aec.enabled", false); // user_pref("media.getusermedia.audio.processing.aec.enabled", false);
user_pref("media.getusermedia.audio.processing.agc", 0); // user_pref("media.getusermedia.audio.processing.agc", 0);
user_pref("media.getusermedia.audio.processing.agc.enabled", false); // user_pref("media.getusermedia.audio.processing.agc.enabled", false);
user_pref("media.getusermedia.audio.processing.agc2.forced", false) // user_pref("media.getusermedia.audio.processing.agc2.forced", false)
user_pref("media.getusermedia.audio.processing.hpf.enabled", false); // user_pref("media.getusermedia.audio.processing.hpf.enabled", false);
user_pref("media.getusermedia.audio.processing.noise", 0); // user_pref("media.getusermedia.audio.processing.noise", 0);
user_pref("media.getusermedia.audio.processing.noise.enabled", false); // user_pref("media.getusermedia.audio.processing.noise.enabled", false);
user_pref("media.getusermedia.audio.processing.platform.enabled", false); // user_pref("media.getusermedia.audio.processing.platform.enabled", false);
user_pref("media.getusermedia.audio.processing.transient.enabled", false); // user_pref("media.getusermedia.audio.processing.transient.enabled", false);
''; '';
userChrome = '' userChrome = ''

View file

@ -43,6 +43,8 @@ in
# Common apps. # Common apps.
(mkIf cfg.common.enable { (mkIf cfg.common.enable {
environment.systemPackages = package.common;
xdg.mime.defaultApplications = { xdg.mime.defaultApplications = {
# Use `file -i file.txt` to find file mime type. # Use `file -i file.txt` to find file mime type.
# Use `xdg-mime query default "text/plain"` to find default app. # Use `xdg-mime query default "text/plain"` to find default app.
@ -54,8 +56,6 @@ in
"video/*" = "mpv.desktop"; "video/*" = "mpv.desktop";
}; };
environment.systemPackages = package.common;
services.gvfs.enable = true; services.gvfs.enable = true;
}) })

View file

@ -9,12 +9,12 @@
android-tools # Android adb tool. Can be used to connect to itself via wireless debugging. binwalk # Can analyze files for other files inside them. android-tools # Android adb tool. Can be used to connect to itself via wireless debugging. binwalk # Can analyze files for other files inside them.
bat # Pretty cat. bat # Pretty cat.
bridge-utils # Network bridges. bridge-utils # Network bridges.
btop btop # System monitoring.
chafa # CLI file manager. chafa # CLI file manager.
coreutils # UNIX Core utilities. coreutils # UNIX Core utilities.
cryptsetup # Filesystem encryption (LUKS). cryptsetup # Filesystem encryption (LUKS).
curl curl # Http client.
ddrescue ddrescue # Data rescue extractor.
diffutils # Diff tool. diffutils # Diff tool.
dnsutils # NS utilities. dnsutils # NS utilities.
exiftool # Image info. exiftool # Image info.
@ -29,8 +29,8 @@
gnugrep # Grep. gnugrep # Grep.
gnumake # Make. gnumake # Make.
gnused # Sed. gnused # Sed.
gnutar gnutar # Tar.
gzip gzip # Fast compression.
htop # System monitors. htop # System monitors.
imagemagick # Image converter and transformation tool. imagemagick # Image converter and transformation tool.
inetutils # Things like FTP. inetutils # Things like FTP.
@ -42,8 +42,8 @@
ltex-ls # Latex LSP for neovim spellcheck. ltex-ls # Latex LSP for neovim spellcheck.
man # App to read manuals. man # App to read manuals.
neovim # Text editor. neovim # Text editor.
nmap nmap # Network scanning.
openssh openssh # Ssh client.
parallel # Run programs in parallel. parallel # Run programs in parallel.
parted # CLI disk partition tool. parted # CLI disk partition tool.
pv # IO progress bar. pv # IO progress bar.
@ -64,34 +64,34 @@
ventoy # Boot multiple ISO/images from a single USB stick. ventoy # Boot multiple ISO/images from a single USB stick.
wcurl # CLI http client. wcurl # CLI http client.
wireguard-tools # Tools to work with Wireguard. wireguard-tools # Tools to work with Wireguard.
xray xray # Proxy.
xz # Archive and compression tools. xz # Archive and compression tools.
yazi yazi # File manager.
yt-dlp # Video downloader. yt-dlp # Video downloader.
zapret # FRKN. zapret # FRKN.
zip zip # Zip utility.
zmap # Network analyzer. zmap # Network analyzer.
# (pkgs.callPackage ./ytdlp {}) # (pkgs.callPackage ./ytdlp {}) # Youtube downloader bin package.
(pkgs.callPackage ./yamusicdownload { }) (pkgs.callPackage ./yamusicdownload { }) # Yandex music downloader.
]; ];
desktop = with pkgs; [ desktop = with pkgs; [
adwaita-icon-theme # GTK icons. adwaita-icon-theme # GTK icons.
foot # Terminal emulator. foot # Terminal emulator.
fuzzel # Application launcher. fuzzel # Application launcher.
grim grim # Screenshots.
slurp slurp # Screen selection.
wf-recorder wf-recorder # Screen recording.
swappy # Screenshot. swappy # Screenshot editing.
mako # Notification system. mako # Notification system.
networkmanagerapplet # Internet configuration. networkmanagerapplet # Internet configuration.
pamixer pamixer # Sound controls.
pavucontrol pavucontrol # Sound applet.
pulseaudio # Audio. pulseaudio # Audio.
playerctl # Multimedia controls. playerctl # Multimedia controls.
sway sway # Sway WM.
waybar # Sway WM. waybar # Sway bar.
(pkgs.callPackage ./swayscript args) (pkgs.callPackage ./swayscript args)
]; ];
@ -113,13 +113,13 @@
gaming = with pkgs; [ gaming = with pkgs; [
scanmem # Memory edit tool. scanmem # Memory edit tool.
steam steam # Gaming platform.
bottles bottles # GUI for Wine.
dxvk dxvk # Directx to Vulkan.
gamescope gamescope # Compositor for Steam.
mangohud mangohud # Realtime stats overlay.
vkd3d vkd3d # Directx to Vulkan.
wine64 # Gaming! wine64 # Run Windows software on Linux.
steam-run # Run games outside of Steam. steam-run # Run games outside of Steam.
]; ];
@ -130,8 +130,8 @@
]; ];
dev = with pkgs; [ dev = with pkgs; [
android-studio android-studio # I hate you.
jetbrains.idea-community jetbrains.idea-community # Okay, but LSP would be better.
]; ];
extra = with pkgs; [ extra = with pkgs; [
@ -139,10 +139,10 @@
appimage-run # Tool to run .AppImage files in NixOS. appimage-run # Tool to run .AppImage files in NixOS.
blanket # Sounds generator. blanket # Sounds generator.
calibre # Book library manager. calibre # Book library manager.
cbonsai cbonsai # Draw trees.
cmatrix # CLI Screensavers. cmatrix # CLI Screensavers.
cowsay cowsay # Cow quotes.
lolcat # CLI funni. lolcat # CLI funni colors.
gnome-font-viewer # Font viewer. gnome-font-viewer # Font viewer.
jamesdsp # Active audio processing. jamesdsp # Active audio processing.
p7zip # Weird archive tool. p7zip # Weird archive tool.