C# 클래스 xZune.Bass.AudioNetworkStream

A audio network sample stream.
상속: AudioStream, INetworkStream
파일 보기 프로젝트 열기: higankanshi/xZune.Bass

공개 메소드들

메소드 설명
AudioNetworkStream ( String url, StreamCreateUrlConfig configs ) : System

Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plug-in supported file on the Internet.

AudioNetworkStream ( String url, StreamCreateUrlConfig configs, Stream saveStream ) : System

Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plug-in supported file on the Internet.

AudioNetworkStream ( String url, StreamCreateUrlConfig configs, int offset ) : System

Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plug-in supported file on the Internet.

AudioNetworkStream ( String url, StreamCreateUrlConfig configs, int offset, Stream saveStream ) : System

Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plug-in supported file on the Internet.

보호된 메소드들

메소드 설명
AttachEvent ( ) : void

비공개 메소드들

메소드 설명
OnDownloadCompeleted ( IntPtr displayHandle, IntPtr channel, uint data, IntPtr user ) : void
OnDownloadProcessing ( IntPtr buffer, uint length, IntPtr user ) : void

메소드 상세

AttachEvent() 보호된 메소드

protected AttachEvent ( ) : void
리턴 void

AudioNetworkStream() 공개 메소드

Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plug-in supported file on the Internet.
public AudioNetworkStream ( String url, StreamCreateUrlConfig configs ) : System
url String /// URL of the file to stream. Should begin with "http://" or "https://" or "ftp://", or another add-on /// supported protocol. The URL can be followed by custom HTTP request headers to be sent to the server; the URL and /// each header should be terminated with a carriage return and line feed ("\r\n"). ///
configs StreamCreateUrlConfig Configures of .
리턴 System

AudioNetworkStream() 공개 메소드

Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plug-in supported file on the Internet.
public AudioNetworkStream ( String url, StreamCreateUrlConfig configs, Stream saveStream ) : System
url String /// URL of the file to stream. Should begin with "http://" or "https://" or "ftp://", or another add-on /// supported protocol. The URL can be followed by custom HTTP request headers to be sent to the server; the URL and /// each header should be terminated with a carriage return and line feed ("\r\n"). ///
configs StreamCreateUrlConfig Configures of .
saveStream Stream Save network stream to local .NET stream.
리턴 System

AudioNetworkStream() 공개 메소드

Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plug-in supported file on the Internet.
public AudioNetworkStream ( String url, StreamCreateUrlConfig configs, int offset ) : System
url String /// URL of the file to stream. Should begin with "http://" or "https://" or "ftp://", or another add-on /// supported protocol. The URL can be followed by custom HTTP request headers to be sent to the server; the URL and /// each header should be terminated with a carriage return and line feed ("\r\n"). ///
configs StreamCreateUrlConfig Configures of .
offset int /// File position to start streaming from. This is ignored by some servers, specifically when the /// length is unknown/undefined. ///
리턴 System

AudioNetworkStream() 공개 메소드

Creates a sample stream from an MP3, MP2, MP1, OGG, WAV, AIFF or plug-in supported file on the Internet.
public AudioNetworkStream ( String url, StreamCreateUrlConfig configs, int offset, Stream saveStream ) : System
url String /// URL of the file to stream. Should begin with "http://" or "https://" or "ftp://", or another add-on /// supported protocol. The URL can be followed by custom HTTP request headers to be sent to the server; the URL and /// each header should be terminated with a carriage return and line feed ("\r\n"). ///
configs StreamCreateUrlConfig Configures of .
offset int /// File position to start streaming from. This is ignored by some servers, specifically when the /// length is unknown/undefined. ///
saveStream Stream Save network stream to local .NET stream.
리턴 System