Changeset 665 for trunk/Packages/uos/uos_flat.pas
- Timestamp:
- Jul 9, 2025, 4:45:12 PM (13 hours ago)
- Location:
- trunk/Packages/uos
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/uos
-
Property svn:ignore
set to
lib
-
Property svn:ignore
set to
-
trunk/Packages/uos/uos_flat.pas
r664 r665 197 197 {$else} 198 198 TProc = procedure of object; 199 TPlayerProc = procedure(PlayerIndex: cint32) of object; 199 200 {$endif} 200 201 … … 537 538 // PlayerIndex : Index of an existing Player 538 539 // InIndex : Index of an existing Input 539 procedure uos_EndProc(PlayerIndex: cint32; Proc: TP roc);540 procedure uos_EndProc(PlayerIndex: cint32; Proc: TPlayerProc); 540 541 541 542 // Assign the procedure (not of object) to execute at end, after loop … … 917 918 // Stop playing and free thread 918 919 procedure uos_Stop(PlayerIndex: cint32); 919 920 // Stop playing and free thread921 procedure uos_StopAndWait(PlayerIndex: cint32);922 920 923 921 // Pause playing … … 2299 2297 end; 2300 2298 2301 procedure uos_StopAndWait(PlayerIndex: cint32);2302 begin2303 if (length(uosPlayers) > 0) and (PlayerIndex < length(uosPlayers)) then2304 if uosPlayersStat[PlayerIndex] = 1 then2305 if Assigned(uosPlayers[PlayerIndex]) then2306 uosPlayers[PlayerIndex].StopAndWait()2307 {$IF DEFINED (mse)}2308 {$endif}2309 ;2310 end;2311 2312 2299 procedure uos_Pause(PlayerIndex: cint32);// Pause playing 2313 2300 begin … … 2328 2315 end; 2329 2316 2330 procedure uos_EndProc(PlayerIndex: cint32; Proc: TP roc);2317 procedure uos_EndProc(PlayerIndex: cint32; Proc: TPlayerProc); 2331 2318 // Assign the procedure of object to execute at end, after loop 2332 2319 // PlayerIndex : Index of an existing Player
Note:
See TracChangeset
for help on using the changeset viewer.