Autor Beitrag
henny
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 126



BeitragVerfasst: Mo 15.06.09 18:05 
Wie kann ich einen sound in die ressourcen einfügen und ihn später im Programm wieder abspielen?

Moderiert von user profile iconNarses: Überflüssige Zeilenumbrüche/Leerzeilen entfernt.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 15.06.09 20:43 
Schau dir einmal PlaySound an, das kann auch Wave-Dateien direkt aus Ressourcen abspielen.

Wenn es MP3s sein sollen, würde ich diese mit TResourceStream ansprechen und den Stream mit BASS abspielen.