Skip to content

Commit

Permalink
audio: fix the audio jack
Browse files Browse the repository at this point in the history
The diff below fixes issue (for now) basically it makes wireplumber
auto-select the output audio port. It also disables my script that
looped through the audio profiles at boot. It seems it is not needed
anymore. I think the reason for the constant changes with pipewire /
wireplumber is that they are in constant development and there is big
discussions going on should the audio system change the audio output
port when new device is connected or not.

Signed-off-by: Brian McGillion <[email protected]>
Co-authored-by: Jon Sahlberg <[email protected]>
  • Loading branch information
brianmcgillion and josa41 committed Feb 18, 2025
1 parent 9bd123b commit 502dfd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/common/services/audio.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ in
"monitor.alsa.properties" = {
"alsa.use-acp" = "true";
"acp.auto-profile" = "true";
"acp.auto-port" = "true";
};
};
};
Expand Down Expand Up @@ -150,7 +151,7 @@ in
};
in
{
enable = true;
enable = false;
description = "Initialize default audio device profiles";
wantedBy = [ "multi-user.target" ];
after = [ "pipewire.target" ];
Expand Down

0 comments on commit 502dfd4

Please sign in to comment.