Click or drag to resize

GHAMediaPlayerBase Class

[This is preliminary documentation and is subject to change.]

Base class for a media player that may be leveraged in specific device drivers
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    GHAObject
      GHASchema.Classes.Device.AudioVideoGHAMediaPlayerBase

Namespace:  GHASchema.Classes.Device.AudioVideo
Assembly:  GHASchema (in GHASchema.dll) Version: 1.1.8074.31450 (1.0.0.0)
Syntax
C#
public abstract class GHAMediaPlayerBase : GHAObject, 
	IMediaPlayer, ITransportControl, ISupportedMedia, IAudioControl

The GHAMediaPlayerBase type exposes the following members.

Constructors
  NameDescription
Public methodGHAMediaPlayerBase
Initializes a new instance of the GHAMediaPlayerBase class
Top
Properties
  NameDescription
Public propertyBalance
Left-right levels between 0.0(full-left) and 1.0(full-right). Centered at 0.5
Public propertyBass
Low-end Bass level between 0.0 and 1.0
Public propertyCurrentTrack
Media currently loaded into the transport
Public propertyDuration
Duration of the media currently loaded on the transport
Public propertyIsDirectSoundControl
Determines if device accepts values for the various sound properties versus simple up/down commands
Public propertyLoudness
Sets Loudness response between 0.0 and 1.0
Public propertyMediaFinishedPlaying
Momentary. Raised when currently selected media is finished playing and the play state of the device is true
Public propertyMute
Immediately set volume to zero when set to true and return to previous level when set to false
Public propertyPause
Temporarily suspends playback when set to true, resumes playback from current media position when set to false
Public propertyPlay
Initiates playback when set to true, stops transport when set to false
Public propertyProgress
Percentage of current media processed by the transport
Public propertySupportedMedia
List of supported media types separated by commas. MIME types
Public propertyTransportCommand
Sets desired state for the underlying transport
Public propertyTreble
High-end Treble level between 0.0 and 1.0
Public propertyVolume
Sound pressure level between 0.0 and 1.0
Top
Methods
  NameDescription
Public methodBassChange
Incrementally adjust Bass up or down by the increment
Public methodNext
Commands the transport to play the next media item
Public methodPrevious
Commands the transport to play the previous media item
Public methodTrebleChange
Incrementally adjust treble up or down by the increment
Public methodVolumeChange
Incrementally adjust volume up or down by the increment
Top
See Also