Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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