Add blackhole audiodevice for macOS Big sur, add sox and Switchaudio-osx versions to the docs (#3542)

This commit is contained in:
Mikhail Timofeev
2021-06-08 10:44:31 +03:00
committed by GitHub
parent 2ae7ebddab
commit 4da3c8eef9
6 changed files with 52 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ Describe "Certificate" {
}
}
Describe "Audio device" -Skip:($os.IsHighSierra -or $os.IsBigSur) {
Describe "Audio device" -Skip:($os.IsHighSierra) {
It "Sox is installed" {
"sox --version" | Should -ReturnZeroExitCode
}
@@ -26,9 +26,13 @@ Describe "Audio device" -Skip:($os.IsHighSierra -or $os.IsBigSur) {
"SwitchAudioSource -c" | Should -ReturnZeroExitCode
}
It "Audio channel Soundflower (2ch)" {
It "Audio channel Soundflower (2ch)" -Skip:($os.IsBigSur) {
SwitchAudioSource -c | Should -BeLikeExactly "Soundflower (2ch)"
}
It "Audio channel BlackHole 2ch" -Skip:($os.IsLessThanBigSur) {
SwitchAudioSource -c | Should -BeLikeExactly "BlackHole 2ch"
}
}
Describe "Screen Resolution" -Skip:($os.IsHighSierra) {