Autor Beitrag
SockeKC
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: Mo 07.04.03 00:08 
hat jemand ne ahnung, wie man in delphi mp3's abspielen kann?
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Mo 07.04.03 00:30 
Hi,

einfach mit der TMediaPlayer Komponente ;)

Au'revoir,
Aya~

_________________
Aya
I aim for my endless dreams and I know they will come true!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 07.04.03 17:55 
oder irgendwo her ne MP3 library (DLL) ziehen, die das für dich macht.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Kugelfutter
Hält's aus hier
Beiträge: 12

Win 2000
D6 Pers
BeitragVerfasst: So 28.09.03 15:07 
Aya hat folgendes geschrieben:
Hi,

einfach mit der TMediaPlayer Komponente ;)

Au'revoir,
Aya~


wo find ich die?? gibts die bei delphi 6 personal?

_________________
#666da @ quakenet
Setsuna Meio
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 70

Windows
Delphi
BeitragVerfasst: So 28.09.03 16:09 
Huhu,

schau mal bei den Komponenten oben, bei System, dort das Symbol mit dem blauen Filmstreifen und der gelben Musiknote, MediaPlayer. =)

^^

_________________
Pluto, schicke das Feuer der Tiefe...
Delphi7
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 41

Win XP Home Edition
Borland Delphi 7 Studio Enterprise
BeitragVerfasst: Mo 06.10.03 22:48 
Titel: Sound
Auf z.B. Button1 doubleclick und diesen code eintippen:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
with MediaPlayer1 do
begin
AutoRewind:=True;
FileName:='C:\Dein Verzeichnis mit Dateiname';
try
Open;
Play;
finally
Close; (Oder einfach "Close" weglassen und nichts hinschreiben)
end;
end;


Aber vorher natürlich ein TMediaPlayer1 Component erstellen!!

Muss klappen.



Delphi... :)

Moderiert von user profile iconraziel: Delphi-Tags hinzugefügt.
Crazy K
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Do 14.04.05 01:07 
funzt prinzipiell nur das close in finally bewirkt dass die file abgespielt wird und sofort wieder gestoppt wird.

das finally wartet nicht auf das Liedende.


so far Crazy K