Click or drag to resize
MP3StreamPlayback Class
Can play audio from an MP3 file.
Inheritance Hierarchy

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public class MP3StreamPlayback : AudioStreamPlayback

The MP3StreamPlayback type exposes the following members.

Constructors
  NameDescription
Public methodMP3StreamPlayback(Stream)
Initializes a new instance of the MP3StreamPlayback class with default packetization time (20ms). The audio stream will not be cached and will be played only once.
Public methodMP3StreamPlayback(String)
Initializes a new instance of the MP3StreamPlayback class with default packetization time (20ms). The audio stream will not be cached and will be played only once.
Public methodMP3StreamPlayback(Stream, Boolean, Boolean)
Initializes a new instance of the MP3StreamPlayback class with default packetization time (20ms).
Public methodMP3StreamPlayback(String, Boolean, Boolean)
Initializes a new instance of the MP3StreamPlayback class with default packetization time (20ms)
Protected methodMP3StreamPlayback(Stream, Boolean, Boolean, UInt32)
Initializes a new instance of the MP3StreamPlayback class.
Public methodMP3StreamPlayback(String, Boolean, Boolean, UInt32)
Initializes a new instance of the MP3StreamPlayback class
Top
Methods
  NameDescription
Public methodDispose
Disposes the object.
(Inherited from DisposableClass.)
Protected methodDispose(Boolean)
Disposes the object.
(Inherited from TimerBasedMediaStreamHandler.)
Protected methodFinalize
(Inherited from DisposableClass.)
Protected methodGetAudioData (Inherited from AudioStreamPlayback.)
Public methodGetAudioFormat (Inherited from MediaStreamSender.)
Protected methodLoadReader
Initializes the file reader which will read the content of the stream. (This method will be invoked in the LoadStream(Stream) method.)
(Overrides AudioStreamPlaybackLoadReader(Stream).)
Public methodLoadStream (Inherited from AudioStreamPlayback.)
Public methodPause
Pauses the streaming. (If the streaming is already paused then does nothing.)
(Inherited from MediaStreamSender.)
Protected methodReceiverConnected
This will be called when this object has been connected to an audio receiver.
(Inherited from AudioSender.)
Protected methodReceiverDisconnected
This will be called when this object has been disconnected from an audio receiver.
(Inherited from AudioSender.)
Protected methodSendMediaData (Inherited from AbstractMediaSenderTData, TFormat.)
Protected methodSetPlaybackWaveStream
Changes the playback stream to the given stream.
(Inherited from AudioStreamPlayback.)
Public methodSetPreferredSendFormats (Inherited from AbstractMediaSenderTData, TFormat.)
Public methodStart
Starts the stream given in the Stream property. (If the stream is already started then does nothing.)
(Inherited from TimerBasedMediaStreamHandler.)
Public methodStop
Stops the streaming.
(Inherited from TimerBasedMediaStreamHandler.)
Protected methodTimerTick
This will be called when the built-in timer ticks.
(Inherited from AudioStreamPlayback.)
Top
Fields
  NameDescription
Protected fieldbuffer (Inherited from AudioStreamPlayback.)
Protected fieldOutputFormat (Inherited from MediaStreamSender.)
Protected fieldSync (Inherited from MediaStreamSender.)
Top
Properties
  NameDescription
Public propertyCached
Gets a boolean value indicating whether the playback stream is cached in the memory.
(Inherited from AudioStreamPlayback.)
Public propertyID (Inherited from DisposableClass.)
Protected propertyInterval
Gets the time between the send events (in milliseconds).
(Inherited from TimerBasedMediaStreamHandler.)
Public propertyIsStreaming
Gets or sets a value that is true if the wave is streaming, otherwise false.
(Inherited from MediaStreamSender.)
Public propertyLoop
A boolean value indicating whether the playback is repeated infinetly.
(Inherited from AudioStreamPlayback.)
Protected propertyMediaFormat (Inherited from AudioStreamPlayback.)
Public propertyOutputFormat
Uncompressed output audio format of the mp3 player.
Protected propertyPosition
Gets or sets the current position in the audio stream
(Inherited from MediaStreamSender.)
Public propertyStream
Gets the stream
(Inherited from MediaStreamSender.)
Top
Events
See Also