Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > VCL

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
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?

Hi,

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
Lars
Reply With Quote
  #2  
Old 11-18-2015, 09:24 AM
lexd lexd is offline
Senior Member
 
Join Date: Feb 2015
Posts: 268
Default

this is what you need
http://soundfile.sapp.org/doc/WaveFormat/

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
Reply

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.