Thema: Delphi Audio Streaming

Einzelnen Beitrag anzeigen

Wishmaster

Registriert seit: 14. Sep 2002
Ort: Steinbach, MB, Canada
301 Beiträge
 
Delphi XE2 Architect
 
#3

AW: Audio Streaming

  Alt 15. Dez 2013, 23:27
hi

wenn du nicht 100% alles selbst schreiben willst dann nimm die bass + plugin's

Example
Start encoding a stereo 44100hz channel to 128kb/s MP3, and send the output to a Shoutcast server.
Delphi-Quellcode:
encoder:=BASS_Encode_Start(channel, "lame -r -s 44100 -b 128 -", BASS_ENCODE_NOHEAD, nil, 0); // setup the encoder
BASS_Encode_CastInit(encoder, "server.com:8000", "password", BASS_ENCODE_TYPE_MP3, "name", "url", "genre", nil, nil, 128, TRUE); // start the cast
  Mit Zitat antworten Zitat