Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

ci: fix Windows audio smoke tone source

Louis Beaumont4b2c1a2a4854
diff --git a/.github/scripts/assert_windows_audio_rms.ps1 b/.github/scripts/assert_windows_audio_rms.ps1
index a8c79808c..503b2f008 100644
--- a/.github/scripts/assert_windows_audio_rms.ps1
+++ b/.github/scripts/assert_windows_audio_rms.ps1
@@ -105,7 +105,7 @@ function New-SineWaveFile {
$ffmpeg = Get-Command ffmpeg -ErrorAction SilentlyContinue
if ($null -ne $ffmpeg) {
& $ffmpeg.Source -hide_banner -loglevel error -y `
- -f lavfi -i "sine=frequency=1000:duration=$DurationSeconds:sample_rate=48000" `
+ -f lavfi -i "sine=frequency=1000:duration=${DurationSeconds}:sample_rate=48000" `
-af "volume=0.90" $Path
if ($LASTEXITCODE -eq 0 -and (Test-Path $Path)) {
return