Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Save data from Media Player

Posted on 1998-01-20
7
Medium Priority
?
141 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 400 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

972 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