-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: enable virtual audio sink for soundd (#31120)
* enable virtual sound * mv install to dockerfile * cleaner --------- Co-authored-by: Justin Newberry <[email protected]>
- Loading branch information
1 parent
88757c1
commit 403610e
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
{ | ||
#start pulseaudio daemon | ||
sudo pulseaudio -D | ||
|
||
# create a virtual null audio and set it to default device | ||
sudo pactl load-module module-null-sink sink_name=virtual_audio | ||
sudo pactl set-default-sink virtual_audio | ||
} > /dev/null 2>&1 |