Skip to content

Commit

Permalink
Change to use pulseaudio old tunnelin module
Browse files Browse the repository at this point in the history
There seems to be issues with pulseaudio module-tunnel -new modules
The moules cause desynch in audio that is not recoverable. The bugs
of that are some 10 years old and seem not to get fixed.
  • Loading branch information
josa41 authored and brianmcgillion committed Nov 12, 2024
1 parent 9bec3c0 commit d25dc39
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 39 deletions.
5 changes: 2 additions & 3 deletions modules/microvm/virtualization/microvm/common/ghaf-audio.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ in
hardware.pulseaudio = lib.mkIf cfg.useTunneling {
enable = true;
extraConfig = ''
load-module module-tunnel-sink-new sink_name=${cfg.name}.speaker server=${address} reconnect_interval_ms=${toString reconnectMs}
load-module module-tunnel-source-new source_name=${cfg.name}.mic server=${address} reconnect_interval_ms=${toString reconnectMs}
load-module module-tunnel-sink sink_name=${cfg.name}.speaker server=${address} reconnect_interval_ms=${toString reconnectMs}
load-module module-tunnel-source source_name=${cfg.name}.mic server=${address} reconnect_interval_ms=${toString reconnectMs}
'';
package = pkgs.pulseaudio-ghaf;
};

environment = lib.mkIf (!cfg.useTunneling) {
Expand Down
1 change: 0 additions & 1 deletion overlays/custom-packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
open-normal-extension = final.callPackage ../../packages/open-normal-extension { };
gtklock = import ./gtklock { inherit prev; };
hardware-scan = final.callPackage ../../packages/hardware-scan { };
pulseaudio-ghaf = import ./pulseaudio { inherit prev; };
globalprotect-openconnect =
final.libsForQt5.callPackage ../../packages/globalprotect-openconnect
{ };
Expand Down
7 changes: 0 additions & 7 deletions overlays/custom-packages/pulseaudio/default.nix

This file was deleted.

This file was deleted.

0 comments on commit d25dc39

Please sign in to comment.