Playsound

Previous topic - Next topic

Worebu

Moinsen,
kann man bei Playsound zur Laufzeit die Lautstärke einstellen?
Über eine Button oder so? Ich habe die Werte geändert aber nix ist passiert.
ein Tip wäre schön  😉

Einen schönen Sonntag noch.
Intel I5 9600 - RTX 4070, WaKü, 32GB RAM, 1x 512gb + 1x 1Gb NVRAM,  1x4TB + 1x1TB HD

dreamerman

You can't change sound volume when it's already playing - after PLAYSOUND was used, not sure if it's possible even with SDL inline. PlaySound should be used for playing short sound effects, for long things like music use PlayMusic command, where you can adjust volume during play. Additional things can be done with SDL inline.
Sry for english but I didn't use Deutsch for years :d
Check my source code editor for GLBasic - link Update: 20.04.2020

Worebu

Das wars, vielen Dank.  :booze:
Intel I5 9600 - RTX 4070, WaKü, 32GB RAM, 1x 512gb + 1x 1Gb NVRAM,  1x4TB + 1x1TB HD