Link to home
Start Free TrialLog in
Avatar of maw2
maw2

asked on

Save data from Media Player

Is it possible to get the "Media Player" in Delphi 2.0 to save data to harddrive at the same time as it is recording?
Avatar of ZifNab
ZifNab

This page should be very interesting for you :

http://www.informant.com/undu/DN970901/00000022.htm
Avatar of maw2

ASKER

Great site but it didn't tell how to write the data to the harddrive at the same time as it's recording.
I need to be able to record a complete song from an audio-cd
and save it in a wav-file.
But, it displays how to record a song, not? Isn't it possible to change the code (with all the included links?), so that you can write it down to disk?

But here is another option : use this component, it's freeware till v1.3 (link points to it):

http://ascu.unian.it/~milani/delphi/ewv103.zip

There you can define in how many buffers the sound can be put in. You get an event when one of these buffers is full. then the device takes the next buffer. In the OnData event you can write that buffer to disk.

What do you think?

c.u. Zif.
And, is it working like I proposed?
Avatar of maw2

ASKER

I finally got it to work. Thank you very much.
ASKER CERTIFIED SOLUTION
Avatar of ZifNab
ZifNab

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of maw2

ASKER

I solved it yesterday and i thank you very much.