Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Save data from Media Player

Posted on 1998-01-20
7
Medium Priority
?
140 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

730 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