-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add blackhole audiodevice for macOS Big sur, add sox and Switchaudio-…
…osx versions to the docs (#3542)
- Loading branch information
1 parent
2ae7ebd
commit 4da3c8e
Showing
6 changed files
with
52 additions
and
8 deletions.
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 |
---|---|---|
@@ -1,17 +1,28 @@ | ||
#!/bin/bash -e -o pipefail | ||
source ~/utils/utils.sh | ||
|
||
echo "install soundflower" | ||
brew install --cask soundflower | ||
|
||
echo "install switchaudio-osx" | ||
brew_smart_install "switchaudio-osx" | ||
|
||
echo "install sox" | ||
brew_smart_install "sox" | ||
|
||
echo "set Soundflower (2ch) as input/output device" | ||
SwitchAudioSource -s "Soundflower (2ch)" -t input | ||
SwitchAudioSource -s "Soundflower (2ch)" -t output | ||
# Big Sur doesn't support soundflower installation without user interaction https://github.com/mattingalls/Soundflower/releases/tag/2.0b2 | ||
# Install blackhole-2ch for Big Sur instead | ||
if is_Less_BigSur; then | ||
echo "install soundflower" | ||
brew install --cask soundflower | ||
|
||
echo "set Soundflower (2ch) as input/output device" | ||
SwitchAudioSource -s "Soundflower (2ch)" -t input | ||
SwitchAudioSource -s "Soundflower (2ch)" -t output | ||
else | ||
echo "install blackhole-2ch" | ||
brew_smart_install "blackhole-2ch" | ||
|
||
echo "set BlackHole 2ch as input/output device" | ||
SwitchAudioSource -s "BlackHole 2ch" -t input | ||
SwitchAudioSource -s "BlackHole 2ch" -t output | ||
fi | ||
|
||
invoke_tests "System" "Audio Device" |
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
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