Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > VCL

Lost Password?

Thread Tools Display Modes
Old 11-02-2015, 08:40 PM
larshgf larshgf is offline
Senior Member
Join Date: Jan 2001
Posts: 237
Default Start playing wav-file at defined time-point?


Wonder if it is possible to start playing af wav-file at a defined time-point.
I have som audio-lectures with different items. What to do in delphi if I want to start playing lets call it "item 2" starting for instance 1 minute 20 second after start of wavefile?

Best Regards
Reply With Quote
Old 11-18-2015, 09:24 AM
lexd lexd is offline
Senior Member
Join Date: Feb 2015
Posts: 268

this is what you need

So make a record
Make a pointer of the record
Load the file to the stream
Set the pointer to the begging of the stream memory block
read the data through the pointer

You can now read the wave file data in correct format
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:32 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.