C# Класс xZune.Bass.Wma.WmaStream

A Windows Media Audio stream.
Наследование: AudioStream
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
WmaStream ( BassStream bassStream, WmaStreamCreateConfig configs, StreamFileSystemType systemType ) : System

Create a sample stream from a WMA Bass stream.

WmaStream ( FileHandlers handlers, WmaStreamCreateConfig configs, StreamFileSystemType systemType, IntPtr user ) : System

Create a sample stream from a WMA file via user callback functions.

WmaStream ( MemoryStream stream, WmaStreamCreateConfig configs ) : System

Creates a sample stream from a WMA memory stream.

WmaStream ( Stream stream, WmaStreamCreateConfig configs, StreamFileSystemType systemType ) : System

Create a sample stream from a WMA .Net stream.

WmaStream ( String file, String user, String password, WmaStreamCreateConfig configs ) : System

Creates a sample stream from a WMA file, optionally with a user name and password to authenticate.

WmaStream ( String file, String user, String password, WmaStreamCreateConfig configs, uint offset, uint length ) : System

Creates a sample stream from a WMA file, optionally with a user name and password to authenticate. .

WmaStream ( String file, WmaStreamCreateConfig configs ) : System

Creates a sample stream from a WMA file.

WmaStream ( String file, WmaStreamCreateConfig configs, uint offset, uint length ) : System

Creates a sample stream from a WMA file.

Защищенные методы

Метод Описание
AttachEvent ( ) : void

Приватные методы

Метод Описание
OnMetaDataEncountered ( IntPtr displayHandle, IntPtr channel, uint data, IntPtr user ) : void
OnServerTrackChanged ( IntPtr displayHandle, IntPtr channel, uint data, IntPtr user ) : void
WmaStream ( IntPtr handle ) : System

Описание методов

AttachEvent() защищенный Метод

protected AttachEvent ( ) : void
Результат void

WmaStream() публичный Метод

Create a sample stream from a WMA Bass stream.
public WmaStream ( BassStream bassStream, WmaStreamCreateConfig configs, StreamFileSystemType systemType ) : System
bassStream BassStream The Bass stream.
configs WmaStreamCreateConfig Configure of .
systemType StreamFileSystemType File system to use.
Результат System

WmaStream() публичный Метод

Create a sample stream from a WMA file via user callback functions.
public WmaStream ( FileHandlers handlers, WmaStreamCreateConfig configs, StreamFileSystemType systemType, IntPtr user ) : System
handlers xZune.Bass.Interop.Core.FileHandlers The user defined file functions.
configs WmaStreamCreateConfig Configure of .
systemType StreamFileSystemType File system to use.
user System.IntPtr User instance data to pass to the callback functions.
Результат System

WmaStream() публичный Метод

Creates a sample stream from a WMA memory stream.
public WmaStream ( MemoryStream stream, WmaStreamCreateConfig configs ) : System
stream System.IO.MemoryStream Memory stream.
configs WmaStreamCreateConfig Configure of .
Результат System

WmaStream() публичный Метод

Create a sample stream from a WMA .Net stream.
public WmaStream ( Stream stream, WmaStreamCreateConfig configs, StreamFileSystemType systemType ) : System
stream Stream The .Net stream.
configs WmaStreamCreateConfig Configure of .
systemType StreamFileSystemType File system to use.
Результат System

WmaStream() публичный Метод

Creates a sample stream from a WMA file, optionally with a user name and password to authenticate.
public WmaStream ( String file, String user, String password, WmaStreamCreateConfig configs ) : System
file String File name.
user String /// User name to use in connecting to the server... if either this or pass is NULL, then no user /// name/password is sent to the server. ///
password String Password to use in connecting to the server.
configs WmaStreamCreateConfig Configure of .
Результат System

WmaStream() публичный Метод

Creates a sample stream from a WMA file, optionally with a user name and password to authenticate. .
public WmaStream ( String file, String user, String password, WmaStreamCreateConfig configs, uint offset, uint length ) : System
file String File name.
user String /// User name to use in connecting to the server... if either this or pass is NULL, then no user /// name/password is sent to the server. ///
password String Password to use in connecting to the server.
configs WmaStreamCreateConfig Configure of .
offset uint File offset to begin streaming from.
length uint Data length... 0 = use all data up to the end of the file.
Результат System

WmaStream() публичный Метод

Creates a sample stream from a WMA file.
public WmaStream ( String file, WmaStreamCreateConfig configs ) : System
file String File name.
configs WmaStreamCreateConfig Configure of .
Результат System

WmaStream() публичный Метод

Creates a sample stream from a WMA file.
public WmaStream ( String file, WmaStreamCreateConfig configs, uint offset, uint length ) : System
file String File name.
configs WmaStreamCreateConfig Configure of .
offset uint File offset to begin streaming from.
length uint Data length... 0 = use all data up to the end of the file.
Результат System