mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-12-05 05:07:47 +00:00
formatting
This commit is contained in:
parent
10c85cead5
commit
a69902ec49
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user