playsnd() is modal on Linux, and non-modal on Windows
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
When playsnd() is run on Windows, Scilab returns to the prompt as soon as the player starts.
On Linux, on the opposite, Scilab returns to the prompt only at the end of playing, that can be a very long time.
We recommend to set playsnd() non-modal on Linux as well
ERROR LOG:
----------
none; Wrong behavior
HOW TO REPRODUCE THE BUG:
-------------------------
// Download https://lasonotheque.org/detail-1162-homme-siffle-une-melodie.html .wav (1mn20)
y = wavread("1162.wav");
playsnd(y,88200)
// Scilab waits for the end to return to the prompt
OTHER INFORMATION:
------------------
Still in Scilab 6.0.2