Skip to content
Snippets Groups Projects
Commit 07de0ab5 authored by David Trattnig's avatar David Trattnig
Browse files

Fix: 100% volume is 1 in Liquidsoap 2

parent 181a5f6b
No related branches found
No related tags found
1 merge request!3Liquidsoap 2 migration
......@@ -140,7 +140,7 @@ server.register(namespace="aura_engine",
# Activate a source by selecting it and setting the volume to 100 (or vice versa)
server.register(namespace = "mixer",
description = "is selecting a source and setting the volume to 100",
description = "Select a source and set the volume to 100",
usage = "activate <source number> <true|false>",
"activate",
fun(p) -> begin
......@@ -155,7 +155,7 @@ server.register(namespace = "mixer",
if source_enable == "true" then
r = server.execute("mixer.select #{source_number} true")
print(r)
r = server.execute("mixer.volume #{source_number} 100")
r = server.execute("mixer.volume #{source_number} 1")
print(r)
else
r = server.execute("mixer.volume #{source_number} 0")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment