[Webinar] Streamline your web hosting managementRegister Today

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

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

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