Solved

Save data from Media Player

Posted on 1998-01-20
7
134 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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now