C# Class QiyiFLV2MP4.MP3Writer

Inheritance: IAudioWriter
Mostra file Open project: fengmoxi/QiyiFLV2MP4

Public Methods

Method Description
Finish ( ) : void
MP3Writer ( string path, List warnings ) : System
WriteChunk ( byte chunk, uint timeStamp ) : void

Private Methods

Method Description
Flush ( ) : void
GetFrameDataOffset ( int mpegVersion, int channelMode ) : int
GetFrameLength ( int mpegVersion, int bitRate, int sampleRate, int padding ) : int
ParseMP3Frames ( byte buff ) : void
WriteVBRHeader ( bool isPlaceholder ) : void

Method Details

Finish() public method

public Finish ( ) : void
return void

MP3Writer() public method

public MP3Writer ( string path, List warnings ) : System
path string
warnings List
return System

WriteChunk() public method

public WriteChunk ( byte chunk, uint timeStamp ) : void
chunk byte
timeStamp uint
return void