Changeset 347 for trunk/Packages/CevoComponents/Sound.pas
- Timestamp:
- Apr 6, 2021, 7:39:39 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/Sound.pas
r317 r347 19 19 {$IFDEF WINDOWS} 20 20 PrevWndProc: WNDPROC; 21 procedure OnMCI(var m: TMessage); message MM_MCINOTIFY;21 procedure OnMCI(var Msg: TMessage); message MM_MCINOTIFY; 22 22 public 23 23 constructor Create(AOwner: TComponent); override; … … 255 255 end; 256 256 257 procedure TSoundPlayer.OnMCI(var m: TMessage);258 begin 259 if ( m.wParam = MCI_NOTIFY_SUCCESSFUL) and (PlayingSound <> nil) then257 procedure TSoundPlayer.OnMCI(var Msg: TMessage); 258 begin 259 if (Msg.wParam = MCI_NOTIFY_SUCCESSFUL) and (PlayingSound <> nil) then 260 260 begin 261 261 PlayingSound.Reset;
Note:
See TracChangeset
for help on using the changeset viewer.