Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005431 [JEDI VCL] 04 Feature Request minor always 2010-11-30 20:47 2012-02-29 16:55
Reporter skydvrz View Status public  
Assigned To AHUser
Priority normal Resolution fixed  
Status resolved   Product Version 3.39
Summary 0005431: TJvWavePlayer component lacks a way to immediately cancel a looping sound file
Description I need to loop a WAV file and then stop it immediately after a few loops and (usually) a partial loop.

There is no method in the current WAV component that stops the playing immediately. The existing Stop method does not abort the final, partial sound loop. It continues to play the final loop until its natural end.

I added this public method and it works well:

TJvWavePlayer = class(TJvComponent)
    procedure Silence;

procedure TJvWavePlayer.Silence;
    PlaySound(NIL, 0, SND_PURGE);

This method immediately stops the WAV from playing and purges any remaining WAV audio from the queue.

Can someone add this method to the JvWavePlayer unit, so I don't have to keep patching the thing when new releases come out? :-)


Kevin G. McCoy
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
AHUser (developer)
2010-11-30 20:54

Added in svn revision 12944.

- Issue History
Date Modified Username Field Change
2010-11-30 20:47 skydvrz New Issue
2010-11-30 20:54 AHUser Note Added: 0018229
2010-11-30 20:54 AHUser Status new => resolved
2010-11-30 20:54 AHUser Fixed in Version => Daily / SVN
2010-11-30 20:54 AHUser Resolution open => fixed
2010-11-30 20:54 AHUser Assigned To => AHUser
2012-02-29 16:55 obones Fixed in Version Daily / SVN => 3.45

Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker