C# (CSharp) Mp3Sharp Namespace

Classes

Name Description
BitstreamException Instances of BitstreamException are thrown when operations on a Bitstream fail.

The exception provides details of the exception condition in two ways:

  1. as an error-code describing the nature of the error


  2. as the Throwable instance, if any, that was thrown indicating that an exceptional condition has occurred.

@since 0.0.6
BufferNotificationEventArgs Describes a buffer notification event. To properly handle the event, the NewSoundByte field should be set to an array of bytes less than or equal to the NumBytesRequired property. If less than the required number of bytes are provided, the stream will fill the remainder with silence. SoundFinished defaults to false, and should be set to indicate if the bytes contained in NewSoundByte represent the end of the sound.
EventRaisingSoundBuffer Component representing a secondary buffer that can be used for streaming. The buffer raises events when it reaches its half-way mark, as well as its end.
MainForm This is a modified version of the "PlaySound" Managed DirectSound sample.
Mp3Stream Provides a view of the sequence of bytes that are produced during the conversion of an MP3 stream into a 16-bit PCM-encoded ("WAV" format) stream.
OBuffer16BitStereo Internal class used to queue samples that are being obtained from an Mp3 stream. This merges the old mp3stream OBuffer with the javazoom SampleBuffer code for the highest efficiency... well, not the highest possible. The highest I'm willing to sweat over. --trs This class handles stereo 16-bit data! Switch it out if you want mono or something.
QueueOBuffer Internal class used to queue samples that are being obtained from an Mp3 stream.
Sample Some samples that show the use of the Mp3Stream class.
SoundUtil Utility functions for working with sound.
StreamedMp3Sound A modified version of the StreamedSound class that sets the frequency of the Secondary Buffer based on the frequency of the first frame of the MP3 file.
StreamedSound Plays streamed PCM-format sounds.
WaveFmt