mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-12-13 16:27:48 +00:00
levels.convert
- hidden, float -> single
This commit is contained in:
parent
618f4a8462
commit
a2b75fa21b
@ -46,7 +46,7 @@ class StripLevels : IRemote {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[float] Convert([float]$val) {
|
hidden [single] Convert([single]$val) {
|
||||||
if ($val -gt 0) {
|
if ($val -gt 0) {
|
||||||
return [math]::Round(20 * [math]::Log10($val), 1)
|
return [math]::Round(20 * [math]::Log10($val), 1)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user