Sorry about that but I still have a question about EndProc :
When I browse the discotheque, I need to be able to edit the intro time or the ending time of a sound.
So until I click on another sound, I want to be able to play it as many time as I want, from the beginning, from the end of the intro, etc...
I first tried uos_playnofree, but then uos_inputseekseconds wouldn't work. Every command would play the sound from the beginning.
I'm now using uos_play, but since the player is freed with endproc, that's why I'm asking that the sound be reloaded with endproc.
Now they're a conflict when I stop first sound and click on a second sound. (The program becomes unresponsive, as with an endless loop).
Procedure TFrmDisco.ChargeSon(nPlayer: integer; LePath: string); var
ho, mi, se, ms: word;
If Fileexists(LePath) then
InputIndex1 := uos_AddFromFile(0, PChar(LePath), -1, 0, 1024);