Edit: Split from Calc Macro to play an MP3 Audio File because your situation (LibreOffice) is different so you need your own topic. If you had the same environment you could use the same solution. Please do not post in another's topic unless you are helping to solve their problem for them. |
Hello, I was using Musikai's code and it worked on my OpenOffice 4.1.13 under windows 10.
But due to certain bug of OO, I tried to switch to Libreoffice 7.4
The code then runs and play sound once and stop playing when called again.
Noticed the code never end execution. Stuck at the while oPlayer1. Isplaying() doevent part never exit loop.
Anyone know what's wrong?