Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
feat(jackd): properly kill pulseaudio server when running jackd script
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Mar 7, 2024
1 parent 74e3de5 commit a4a8a7b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/common/audio/jack-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ install:
- qemu-audio-jack
- qemu-audio-pa
- pulseaudio
- pulseaudio-utils
- pulseaudio-module-jack
- pulseaudio-module-bluetooth
- pulseaudio-libs
remove:
- pipewire-utils
- pipewire-pulseaudio
Expand Down
3 changes: 3 additions & 0 deletions config/files/shared/libexec/studio-jackd-default
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env -S nu
pulseaudio -k
pactl load-module module-jack-source
jack_control start
jack_control ds alsa
jack_control dps rate 48000
Expand All @@ -9,3 +11,4 @@ a2j_control --ehw
a2j_control --start
sleep 5sec
qjackctl &
pactl load-module module-jack-sink

0 comments on commit a4a8a7b

Please sign in to comment.