Solved

Save data from Media Player

Posted on 1998-01-20
7
136 Views
Last Modified: 2010-04-04
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?
0
Comment
Question by:maw2
  • 4
  • 3
7 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1357066
This page should be very interesting for you :

http://www.informant.com/undu/DN970901/00000022.htm
0
 

Author Comment

by:maw2
ID: 1357067
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.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1357068
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.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 8

Expert Comment

by:ZifNab
ID: 1357069
And, is it working like I proposed?
0
 

Author Comment

by:maw2
ID: 1357070
I finally got it to work. Thank you very much.
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 100 total points
ID: 1357071
I'm going to answer the question now, so it's going away from the asking questions list. If you don't like this, just reject it.

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?

If you still need help, just give a comment, and I'll try to do what I can.

Regards,
Zif.

                          c.u. Zif.
0
 

Author Comment

by:maw2
ID: 1357072
I solved it yesterday and i thank you very much.

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question