Recent

Author Topic: Instruction series  (Read 846 times)

oproescu

  • New Member
  • *
  • Posts: 48
Instruction series
« on: May 18, 2018, 04:10:31 pm »
Hallo!

In a suite of instructions like

begin
PlaySound ('file1.wav', 0, SND_ASYNC);
PlaySound ('file2.wav', 0, SND_ASYNC);
PlaySound ('file3.wav', 0, SND_ASYNC);
...........................................
PlaySound ('filen.wav', 0, SND_ASYNC);
end;

only the 'filen.wav' file is actually executed, the other does not play in the speaker. How can one be executed each, one at a time, without pauses between them?
Thank you!

Bart

  • Hero Member
  • *****
  • Posts: 5275
    • Bart en Mariska's Webstek
Re: Instruction series
« Reply #1 on: May 18, 2018, 04:14:49 pm »
SND_SYNC perhaps?
(Not asynchronous)

Bart

oproescu

  • New Member
  • *
  • Posts: 48
Re: Instruction series
« Reply #2 on: May 18, 2018, 06:53:57 pm »
Correct! Goes well! Many thanks!
The topic is closed.
Oproescu
« Last Edit: May 18, 2018, 06:57:20 pm by oproescu »

 

TinyPortal © 2005-2018