View Issue Details

IDProjectCategoryView StatusLast Update
0005431JEDI VCL04 Feature Requestpublic2012-02-29 16:55
ReporterskydvrzAssigned ToAHUser 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.39 
Target VersionFixed in Version3.45 
Summary0005431: TJvWavePlayer component lacks a way to immediately cancel a looping sound file
DescriptionI 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)
.
.
.
public
    procedure Silence;
.
.
.


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

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? :-)

TIA!

Kevin G. McCoy
TagsNo tags attached.

Activities

AHUser

2010-11-30 20:54

developer   ~0018229

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