C# Класс xZune.Bass.AudioNetworkStream

A audio network sample stream.
Наследование: AudioStream, INetworkStream
Показать файл Открыть проект

Открытые методы

Метод Описание
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