Changeset 677 for trunk/Music.pas
- Timestamp:
- Jul 26, 2025, 2:00:45 PM (19 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Music.pas
r669 r677 20 20 AutoPlayNext: Boolean; 21 21 LibrariesLoaded: Boolean; 22 NewPlayerIndex: Integer; 22 23 function GetPlaying: Boolean; 23 24 procedure Initialize; … … 153 154 Playlist := TStringList.Create; 154 155 PlayerIndex1 := -1; 156 NewPlayerIndex := 0; 155 157 FVolume := 1; 156 158 end; … … 213 215 if PlayerIndex1 >= 0 then uos_Stop(PlayerIndex1); 214 216 215 Inc(PlayerIndex1); 217 PlayerIndex1 := NewPlayerIndex; 218 Inc(NewPlayerIndex); 216 219 217 220 uos_CreatePlayer(PlayerIndex1); 218 221 uos_EndProc(PlayerIndex1, EndPlay); 219 //uos_LoopEndProc(PlayerIndex1, LoopEndProc);220 222 221 223 FileName := GetNextPlaylistItem;
Note:
See TracChangeset
for help on using the changeset viewer.