Skip to content

Commit

Permalink
windows audio issues fix: know ci audio setup
Browse files Browse the repository at this point in the history
Signed-off-by: David Anyatonwu <[email protected]>
  • Loading branch information
onyedikachi-david committed Sep 10, 2024
1 parent 936597d commit 23f8cc1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,12 +342,11 @@ jobs:
# Additional debugging information
Write-Output "Audio endpoints:"
Get-AudioDevice -List | Format-Table Name, Type, Default, ID
Get-CimInstance Win32_SoundDevice | Format-Table Name, Status, ConfigManagerErrorCode
Write-Output "MMDevice audio endpoints:"
[System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
$devices = [System.Windows.Forms.SystemInformation]::SoundDevices
$devices | ForEach-Object { Write-Output $_ }
Add-Type -AssemblyName System.Windows.Forms
[System.Windows.Forms.SystemInformation]::SoundDevices | ForEach-Object { Write-Output $_ }
- name: Install Tesseract OCR
shell: pwsh
Expand Down Expand Up @@ -390,6 +389,7 @@ jobs:
Add-Type -AssemblyName System.Speech
`$synthesizer = New-Object System.Speech.Synthesis.SpeechSynthesizer
while (`$true) {
Write-Output "Speaking test audio..."
`$synthesizer.Speak("This is a test audio for Screenpipe.")
Start-Sleep -Seconds 5
}
Expand Down

0 comments on commit 23f8cc1

Please sign in to comment.