C# Class AnimatGuiCtrls.Video.AudioStream

Inheritance: AviStream
Afficher le fichier Open project: NeuroRoboticTech/AnimatLabPublicSource Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetStreamInfo ( IntPtr aviStream ) : Avi.AVISTREAMINFO

Read the stream's header information

Method Details

AudioStream() public méthode

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]
Résultat System

ExportStream() public méthode

Copy the stream into a new file
public ExportStream ( String fileName ) : void
fileName String Name of the new file
Résultat void

GetFormat() public méthode

Read the stream's format information
public GetFormat ( ) : Avi.PCMWAVEFORMAT
Résultat Avi.PCMWAVEFORMAT

GetStreamData() public méthode

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
Résultat System.IntPtr

GetStreamInfo() public méthode

Read the stream's header information
public GetStreamInfo ( ) : Avi.AVISTREAMINFO
Résultat Avi.AVISTREAMINFO