Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

Real Audio files

Can I play Real Audio Music files (*.ra and *.ram) from my
DELPHI 2.0 programs? Can you give me source code!
0
mmilan
Asked:
mmilan
  • 3
  • 2
1 Solution
 
itamarCommented:
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
 
mmilanAuthor Commented:
How can I start playing Real Audio files when I did that? HURRY UP!!!!!!!!!!
0
 
mmilanAuthor Commented:
Adjusted points to 50
0
 
itamarCommented:
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
 
itamarCommented:
Oh !

'Arquivos de programas' means Program Files in Portuguese !

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

'http://....'


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now