Skip to content

Commit

Permalink
Resample with the highest quality settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Nov 23, 2024
1 parent d5a1f43 commit 7e8907c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home-manager/_mixins/services/mopidy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ lib.mkIf (lib.elem username installFor && role == "piceiver") {
# I don't know why, but updating it to 48000 seems to make everything just work.
# Rygel uses GStreamer similarly but doesn't have problems like this, even though it uses a sample rate of 96000...
# Maybe it's something that is a problem in the pre-release version of Mopidy.
output = "audioconvert ! audioresample ! audio/x-raw,rate=48000,channels=2,format=S32LE ! pipewiresink client-name=Mopidy target-object=snapserver stream-properties=\"props,application.id=mopidy,application.name=Mopidy,application.process.binary=mopidy,application.version=${lib.getVersion pkgs.mopidy},media.category=Playback,media.role=Music,media.type=Audio\"";
output = "audioconvert ! audioresample quality=10 ! audio/x-raw,rate=48000,channels=2,format=S32LE ! pipewiresink client-name=Mopidy target-object=snapserver stream-properties=\"props,application.id=mopidy,application.name=Mopidy,application.process.binary=mopidy,application.version=${lib.getVersion pkgs.mopidy},media.category=Playback,media.role=Music,media.type=Audio\"";
};
http = {
enabled = true;
Expand Down

0 comments on commit 7e8907c

Please sign in to comment.