Top Description Fields Constructors Methods
com.sun.media.jfxmediaimpl.platform.osx

pack-priv final Class OSXMediaPlayer

extends NativeMediaPlayer
Class Inheritance
Imports
com.sun.media.jfxmedia.MediaException, com.sun.media.jfxmedia.effects.AudioEqualizer, .AudioSpectrum, com.sun.media.jfxmedia.locator.Locator, com.sun.media.jfxmedia.control.MediaPlayerOverlay, com.sun.media.jfxmediaimpl.NativeMedia, .NativeMediaPlayer

Mac OS X MediaPlayer implementation.

Field Summary

Modifier and TypeField and Description
private final AudioEqualizer
private final AudioSpectrum
private final Locator
Inherited from com.sun.media.jfxmediaimpl.NativeMediaPlayer:
eventPlayerErroreventPlayerFinishedeventPlayerPausedeventPlayerPlayingeventPlayerReadyeventPlayerStalledeventPlayerStoppedeventPlayerUnknownONE_SECOND

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public AudioSpectrum
getAudioSpectrum()

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.getAudioSpectrum.

Implements com.sun.media.jfxmedia.MediaPlayer.getAudioSpectrum.

Gets the audio spectrum controller for the player.

public AudioEqualizer
getEqualizer()

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.getEqualizer.

Implements com.sun.media.jfxmedia.MediaPlayer.getEqualizer.

Gets the audio equalizer for the player.

public MediaPlayerOverlay
getMediaPlayerOverlay()

Implements com.sun.media.jfxmedia.MediaPlayer.getMediaPlayerOverlay.

Returns the media player overlay support interface.

private native void
osxCreatePlayer(Locator locator, String contentType, long sizeHint)

private native void
private native void
private native long
private native long
private native long
private native float
private native double
private native boolean
private native double
private native float
private native float
private native boolean
private native void
private native void
private native void
osxSeek(double streamTime)

private native void
private native void
osxSetBalance(float balance)

private native void
osxSetMute(boolean state)

private native void
osxSetRate(float rate)

private native void
osxSetVolume(float volume)

private native void
protected void
protected void
protected long
protected float
protected double
protected boolean
protected double
protected float
protected float
public void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
Inherited from com.sun.media.jfxmediaimpl.NativeMediaPlayer:
addAudioSpectrumListeneraddBufferListeneraddMarkerListeneraddMediaErrorListeneraddMediaPlayerListeneraddMediaTimeListeneraddVideoTrackSizeListenercreateNativeAudioEqualizercreateNativeAudioSpectrumdisposegetAudioSyncDelaygetBalancegetDurationgetMediagetMutegetPresentationTimegetRategetStartTimegetStategetStopTimegetVideoRenderControlgetVolumeinitisErrorEventCachedmarkerStateChangedpauseplayremoveAudioSpectrumListenerremoveBufferListenerremoveMarkerListenerremoveMediaErrorListenerremoveMediaPlayerListenerremoveMediaTimeListenerremoveVideoTrackSizeListenerseeksendAudioSpectrumEventsendAudioTracksendBufferProgressEventsendDurationUpdateEventsendFrameSizeChangedEventsendMarkerEventsendNewFrameEventsendPlayerEventsendPlayerHaltEventsendPlayerMediaErrorEventsendPlayerStateEventsendSubtitleTracksendVideoTracksendWarningsetAudioSyncDelaysetBalancesetMutesetRatesetStartTimesetStopTimesetVolumestop

Field Detail

audioEqback to summary
private final AudioEqualizer audioEq
audioSpectrumback to summary
private final AudioSpectrum audioSpectrum
mediaLocatorback to summary
private final Locator mediaLocator

Constructor Detail

OSXMediaPlayerback to summary
pack-priv OSXMediaPlayer(NativeMedia sourceMedia)
OSXMediaPlayerback to summary
pack-priv OSXMediaPlayer(Locator source)

Method Detail

getAudioSpectrumback to summary
public AudioSpectrum getAudioSpectrum()

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.getAudioSpectrum.

Implements com.sun.media.jfxmedia.MediaPlayer.getAudioSpectrum.

Doc from com.sun.media.jfxmedia.MediaPlayer.getAudioSpectrum.

Gets the audio spectrum controller for the player.

Annotations
@Override
getEqualizerback to summary
public AudioEqualizer getEqualizer()

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.getEqualizer.

Implements com.sun.media.jfxmedia.MediaPlayer.getEqualizer.

Doc from com.sun.media.jfxmedia.MediaPlayer.getEqualizer.

Gets the audio equalizer for the player.

Annotations
@Override
getMediaPlayerOverlayback to summary
public MediaPlayerOverlay getMediaPlayerOverlay()

Implements com.sun.media.jfxmedia.MediaPlayer.getMediaPlayerOverlay.

Doc from com.sun.media.jfxmedia.MediaPlayer.getMediaPlayerOverlay.

Returns the media player overlay support interface.

Annotations
@Override
osxCreatePlayerback to summary
private native void osxCreatePlayer(Locator locator, String contentType, long sizeHint) throws MediaException
osxDisposeback to summary
private native void osxDispose()
osxFinishback to summary
private native void osxFinish() throws MediaException
osxGetAudioEqualizerRefback to summary
private native long osxGetAudioEqualizerRef()
osxGetAudioSpectrumRefback to summary
private native long osxGetAudioSpectrumRef()
osxGetAudioSyncDelayback to summary
private native long osxGetAudioSyncDelay() throws MediaException
osxGetBalanceback to summary
private native float osxGetBalance() throws MediaException
osxGetDurationback to summary
private native double osxGetDuration() throws MediaException
osxGetMuteback to summary
private native boolean osxGetMute() throws MediaException
osxGetPresentationTimeback to summary
private native double osxGetPresentationTime() throws MediaException
osxGetRateback to summary
private native float osxGetRate() throws MediaException
osxGetVolumeback to summary
private native float osxGetVolume() throws MediaException
osxNeedsLocatorback to summary
private native boolean osxNeedsLocator() throws MediaException
osxPauseback to summary
private native void osxPause() throws MediaException
osxPlayback to summary
private native void osxPlay() throws MediaException
osxSeekback to summary
private native void osxSeek(double streamTime) throws MediaException
osxSetAudioSyncDelayback to summary
private native void osxSetAudioSyncDelay(long delay) throws MediaException
osxSetBalanceback to summary
private native void osxSetBalance(float balance) throws MediaException
osxSetMuteback to summary
private native void osxSetMute(boolean state) throws MediaException
osxSetRateback to summary
private native void osxSetRate(float rate) throws MediaException
osxSetVolumeback to summary
private native void osxSetVolume(float volume) throws MediaException
osxStopback to summary
private native void osxStop() throws MediaException
playerDisposeback to summary
protected void playerDispose()

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerDispose.

Annotations
@Override
playerFinishback to summary
protected void playerFinish() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerFinish.

Annotations
@Override
playerGetAudioSyncDelayback to summary
protected long playerGetAudioSyncDelay() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerGetAudioSyncDelay.

Annotations
@Override
playerGetBalanceback to summary
protected float playerGetBalance() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerGetBalance.

Annotations
@Override
playerGetDurationback to summary
protected double playerGetDuration() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerGetDuration.

Annotations
@Override
playerGetMuteback to summary
protected boolean playerGetMute() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerGetMute.

Annotations
@Override
playerGetPresentationTimeback to summary
protected double playerGetPresentationTime() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerGetPresentationTime.

Annotations
@Override
playerGetRateback to summary
protected float playerGetRate() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerGetRate.

Annotations
@Override
playerGetVolumeback to summary
protected float playerGetVolume() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerGetVolume.

Annotations
@Override
playerInitback to summary
public void playerInit() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerInit.

Annotations
@Override
playerPauseback to summary
protected void playerPause() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerPause.

Annotations
@Override
playerPlayback to summary
protected void playerPlay() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerPlay.

Annotations
@Override
playerSeekback to summary
protected void playerSeek(double streamTime) throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerSeek.

Annotations
@Override
playerSetAudioSyncDelayback to summary
protected void playerSetAudioSyncDelay(long delay) throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerSetAudioSyncDelay.

Annotations
@Override
playerSetBalanceback to summary
protected void playerSetBalance(float balance) throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerSetBalance.

Annotations
@Override
playerSetMuteback to summary
protected void playerSetMute(boolean state) throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerSetMute.

Annotations
@Override
playerSetRateback to summary
protected void playerSetRate(float rate) throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerSetRate.

Annotations
@Override
playerSetVolumeback to summary
protected void playerSetVolume(float volume) throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerSetVolume.

Annotations
@Override
playerStopback to summary
protected void playerStop() throws MediaException

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerStop.

Annotations
@Override