uses
bass,basswma
var
channel: dword;
procedure TForm1.FormCreate(Sender: TObject);
begin
if not BASS_Init(1, 44100, 0, Handle, nil) then
begin
Showmessage('Can´t initialize device');
Halt;
end;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Channel := BASS_WMA_StreamCreateFile(FALSE, PChar('http://dix.media.webpartner.dk/voice128'),0, 0, 0); 0
BASS_ChannelPlay(Channel, true);
end;
[Redigeret d. 18/07-05 21:48:35 af Jakob]