C# Класс AnimatGuiCtrls.Video.AudioStream

Наследование: AviStream
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AudioStream ( int aviFile, IntPtr aviStream ) : System

Initialize an AudioStream for an existing stream

ExportStream ( String fileName ) : void

Copy the stream into a new file

GetFormat ( ) : Avi.PCMWAVEFORMAT

Read the stream's format information

GetStreamData ( Avi &streamInfo, Avi &format, int &streamLength ) : IntPtr

Returns all data needed to copy the stream

Do not forget to call Marshal.FreeHGlobal and release the raw data pointer

GetStreamInfo ( ) : Avi.AVISTREAMINFO

Read the stream's header information

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

Метод Описание
GetStreamInfo ( IntPtr aviStream ) : Avi.AVISTREAMINFO

Read the stream's header information

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

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

Initialize an AudioStream for an existing stream
public AudioStream ( int aviFile, IntPtr aviStream ) : System
aviFile int The file that contains the stream
aviStream System.IntPtr An IAVISTREAM from [aviFile]
Результат System

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

Copy the stream into a new file
public ExportStream ( String fileName ) : void
fileName String Name of the new file
Результат void

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

Read the stream's format information
public GetFormat ( ) : Avi.PCMWAVEFORMAT
Результат Avi.PCMWAVEFORMAT

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

Returns all data needed to copy the stream
Do not forget to call Marshal.FreeHGlobal and release the raw data pointer
public GetStreamData ( Avi &streamInfo, Avi &format, int &streamLength ) : IntPtr
streamInfo Avi Receives the header information
format Avi Receives the format
streamLength int Receives the length of the stream
Результат System.IntPtr

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

Read the stream's header information
public GetStreamInfo ( ) : Avi.AVISTREAMINFO
Результат Avi.AVISTREAMINFO