Autor Beitrag
Nightmare_82
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 260



BeitragVerfasst: Fr 10.01.03 18:44 
Hi! Kann mir irgendjemand sagen ob und wenn ja wie man in DelphiX mp3-Dateien abspielen kann?
kampfkoloss23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 96



BeitragVerfasst: So 12.01.03 15:05 
Ich weiß nicht so genau was Delphix ist, doch wenn es so wie
delphi funkzt, warum nicht einfach:

playsound(laser.mp3,0,snd_Async);

+ zu uses mmsystem hinzufügen
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: So 12.01.03 15:48 
kampfkoloss23 hat folgendes geschrieben:
playsound(laser.mp3,0,snd_Async);


Damit kann man nur WAVE-Dateien abspielen.

Zum Abspielen von Mp3s müsstest du den TMediaPlayer nehmen. Dazu muss allerdings der Windows Media Player auf dem System installiert sein.
Eine andere Möglichkeit ist DirectSound. Wie das jedoch funktioniert, kann ich dir leider auch nicht sagen.

_________________
If accidentally read, induce vomitting.