formatting

This commit is contained in:
pblivingston 2025-11-26 13:32:06 -05:00
parent 10c85cead5
commit a69902ec49

View File

@ -24,12 +24,12 @@ class Option : IRemote {
{ {
param([int]$arg) param([int]$arg)
$opts = @(32000, 44100, 48000, 88200, 96000, 176400, 192000) $opts = @(32000, 44100, 48000, 88200, 96000, 176400, 192000)
if ($opts.Contains($arg)) { if ($opts.Contains($arg)) {
$this._sr = $this.Setter('sr', $arg) $this._sr = $this.Setter('sr', $arg)
} }
else { else {
Write-Warning ('Expected one of', $opts) Write-Warning ('Expected one of', $opts)
} }
} }
) )
} }
@ -48,12 +48,12 @@ class OptionBuffer : IRemote {
{ {
param([int]$arg) param([int]$arg)
$opts = @(441, 480, 512, 576, 640, 704, 768, 896, 1024, 1536, 2048) $opts = @(441, 480, 512, 576, 640, 704, 768, 896, 1024, 1536, 2048)
if ($opts.Contains($arg)) { if ($opts.Contains($arg)) {
$this._mme = $this.Setter('mme', $arg) $this._mme = $this.Setter('mme', $arg)
} }
else { else {
Write-Warning ('Expected one of', $opts) Write-Warning ('Expected one of', $opts)
} }
} }
) )