Autor Beitrag
mambo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76

Win XP
D6 Prof
BeitragVerfasst: Di 03.09.02 14:43 
Hallo !
Wie kann ich in Delphi am einfachsten einen WAV-Sound abspielen?

Kann man die WAV-Sounddatei auch direkt über eine Komponente in die EXE-Datei einbinden, damit man sie nicht als eigene Datei speichern muß?

Für Eure Hilfe wäre ich sehr dankbar
Heinz
bis11
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1247
Erhaltene Danke: 2

Apple Mac OSX 10.11

BeitragVerfasst: Di 03.09.02 14:53 
Hi,

also um eine WAV-Datei abzuspielen, benutze einfach die TMediaPlayer-Kompo.

Um einen WAV-Datei in eine EXE einzubinden kann ich Dir diesen Tip geben : (habe Ihn noch nicht ausprobiert)

...eine Wav Datei in eine .Exe Datei einbinden?
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 03.09.02 15:07 
am einfachsten geht das mit sndPlaySound. Guck einfach mal in der Win32Hilfe oder PSDK. Natürlich muss man da die Unit mmsystem einbinden.

_________________
Viele Grüße
Jakob