Solved

Real Audio files

Posted on 1998-08-27
5
203 Views
Last Modified: 2010-04-04
Can I play Real Audio Music files (*.ra and *.ram) from my
DELPHI 2.0 programs? Can you give me source code!
0
Comment
Question by:mmilan
[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
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:itamar
ID: 1337919
Hi mmilan,

You´ll need to have RealAudio installed in the destination machine.
As it´s a OCX you only have to install it in Component | Install | OCX.

It´ll be available in OCX component pallete. Just drop it in your form and you´re ready to go.

I don´t think it´s possible to play RA files in a stand-alone mode.

IHTH,
Itamar
0
 

Author Comment

by:mmilan
ID: 1337920
How can I start playing Real Audio files when I did that? HURRY UP!!!!!!!!!!
0
 

Author Comment

by:mmilan
ID: 1337921
Adjusted points to 50
0
 
LVL 4

Accepted Solution

by:
itamar earned 50 total points
ID: 1337922
Hi mmilan.

You must do that:

procedure TForm1.Button1Click(Sender: TObject);
begin
  RealAudio1.Source := 'file://C:\Arquivos de Programas\Real\Player\START.RAM';
  RealAudio1.DoPLayPause;
end;

Grade It ! HURRY UP !!!   :-})))

IHTH,
bye,
Itamar
0
 
LVL 4

Expert Comment

by:itamar
ID: 1337923
Oh !

'Arquivos de programas' means Program Files in Portuguese !

If you want to play an URL, change the Source property to

'http://....'


0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

729 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