mkchromecast, audio changes, dlna

This commit is contained in:
kat witch 2021-03-15 16:45:17 +00:00
parent 0709e65146
commit f3b8948fa6
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
7 changed files with 32 additions and 8 deletions

View file

@ -66,7 +66,20 @@
audio_output {
type "pulse"
name "speaker"
}
audio_output {
type "httpd"
name "httpd-high"
encoder "opus"
bitrate "96000"
port "32101"
max_clients "4"
format "48000:16:2"
always_on "yes"
tags "yes"
}
'';
};
};

View file

@ -20,6 +20,7 @@
thunderbird
unstable.syncplay
unstable.youtube-dl
unstable.mkchromecast
unstable.google-chrome
v4l-utils
transmission-gtk

View file

@ -11,9 +11,14 @@
hardware.pulseaudio = {
enable = true;
daemon.config = {
default-sample-format = "s24le";
default-sample-rate = 96000;
resample-method = "soxr-vhq";
exit-idle-time = 5;
resample-method = "speex-float-5";
avoid-resampling = "true";
flat-volumes = "no";
default-sample-format = "s32le";
default-sample-rate = 48000;
alternate-sample-rate = 44100;
default-sample-channels = 2;
};
};
};

View file

@ -201,4 +201,3 @@
nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '<C-v><C-m>', ''', 'g')<CR>p
'' else
"")

View file

@ -75,6 +75,9 @@
command = "systemctl --user restart mako";
always = true;
}
{
command = "mkchromecast -t";
}
{
command =
"${pkgs.swayidle}/bin/swayidle -w before-sleep '${lockCommand}'";