Author Topic: Playsound  (Read 1647 times)

Offline Worebu

  • Mr. Polyvector
  • ***
  • Posts: 209
  • Seit gemoint liebe Gemeinde
    • View Profile
Playsound
« on: 2021-Mar-14 »
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 2080 Super, WaKü, 32GB RAM, 1x 512gb + 1x 1Gb NVRAM,  1x4TB + 1x1TB HD

Offline dreamerman

  • Global Moderator
  • Dr. Type
  • *******
  • Posts: 455
    • View Profile
    • my personal website
Re: Playsound
« Reply #1 on: 2021-Mar-14 »
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

Offline Worebu

  • Mr. Polyvector
  • ***
  • Posts: 209
  • Seit gemoint liebe Gemeinde
    • View Profile
Re: Playsound
« Reply #2 on: 2021-Mar-14 »
Das wars, vielen Dank.  :booze:
Intel I5 9600 - RTX 2080 Super, WaKü, 32GB RAM, 1x 512gb + 1x 1Gb NVRAM,  1x4TB + 1x1TB HD