Method | Description | |
---|---|---|
CreateAcmFrameDecompressor ( |
Creates an ACM MP3 Frame decompressor. This is the default with NAudio
|
|
Mp3FileReader ( Stream inputStream ) : System |
Opens MP3 from a stream rather than a file Will not dispose of this stream itself
|
|
Mp3FileReader ( Stream inputStream, FrameDecompressorBuilder frameDecompressorBuilder ) : System |
Opens MP3 from a stream rather than a file Will not dispose of this stream itself
|
|
Mp3FileReader ( string mp3FileName ) : System |
Supports opening a MP3 file
|
|
Mp3FileReader ( string mp3FileName, FrameDecompressorBuilder frameDecompressorBuilder ) : System |
Supports opening a MP3 file
|
|
Read ( byte sampleBuffer, int offset, int numBytes ) : int |
Reads decompressed PCM data from our MP3 file.
|
|
ReadNextFrame ( ) : NAudio.Wave.Mp3Frame |
Reads the next mp3 frame
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes this WaveStream
|
Method | Description | |
---|---|---|
CreateTableOfContents ( ) : void | ||
ReadNextFrame ( bool readData ) : NAudio.Wave.Mp3Frame |
Reads the next mp3 frame
|
|
TotalSeconds ( ) : double |
Gets the total length of this file in milliseconds.
|
|
ValidateFrameFormat ( NAudio.Wave.Mp3Frame frame ) : void |
public static CreateAcmFrameDecompressor ( |
||
mp3Format | A WaveFormat object based | |
return | IMp3FrameDecompressor |
public Mp3FileReader ( Stream inputStream ) : System | ||
inputStream | Stream | The incoming stream containing MP3 data |
return | System |
public Mp3FileReader ( Stream inputStream, FrameDecompressorBuilder frameDecompressorBuilder ) : System | ||
inputStream | Stream | The incoming stream containing MP3 data |
frameDecompressorBuilder | FrameDecompressorBuilder | Factory method to build a frame decompressor |
return | System |
public Mp3FileReader ( string mp3FileName ) : System | ||
mp3FileName | string | |
return | System |
public Mp3FileReader ( string mp3FileName, FrameDecompressorBuilder frameDecompressorBuilder ) : System | ||
mp3FileName | string | MP3 File name |
frameDecompressorBuilder | FrameDecompressorBuilder | Factory method to build a frame decompressor |
return | System |
public Read ( byte sampleBuffer, int offset, int numBytes ) : int | ||
sampleBuffer | byte | |
offset | int | |
numBytes | int | |
return | int |
public ReadNextFrame ( ) : NAudio.Wave.Mp3Frame | ||
return | NAudio.Wave.Mp3Frame |