C# Class xZune.Bass.AudioNetworkStream

A audio network sample stream.
Inheritance: AudioStream, INetworkStream
Datei anzeigen Open project: higankanshi/xZune.Bass

Public Methods

Method Description
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.

Protected Methods

Method Description
AttachEvent ( ) : void

Private Methods

Method Description
OnDownloadCompeleted ( IntPtr displayHandle, IntPtr channel, uint data, IntPtr user ) : void
OnDownloadProcessing ( IntPtr buffer, uint length, IntPtr user ) : void

Method Details

AttachEvent() protected method

protected AttachEvent ( ) : void
return void

AudioNetworkStream() public method

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 .
return System

AudioNetworkStream() public method

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.
return System

AudioNetworkStream() public method

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. ///
return System

AudioNetworkStream() public method

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.
return System