com.panayotis.jubler.media.preview.decoders
Class NativeDecoder

java.lang.Object
  extended by com.panayotis.jubler.media.preview.decoders.NativeDecoder
All Implemented Interfaces:
DecoderInterface
Direct Known Subclasses:
FFMPEG

public abstract class NativeDecoder
extends java.lang.Object
implements DecoderInterface


Constructor Summary
NativeDecoder()
           
 
Method Summary
 void closeAudioCache(CacheFile cfile)
           
 AudioPreview getAudioPreview(CacheFile cfile, double from, double to)
           
 boolean getInterruptStatus()
           
 boolean initAudioCache(AudioFile afile, CacheFile cfile, DecoderListener fback)
           
 void setInterruptStatus(boolean interrupt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.panayotis.jubler.media.preview.decoders.DecoderInterface
getFrame, isDecoderValid, playAudioClip, retrieveInformation
 

Constructor Detail

NativeDecoder

public NativeDecoder()
Method Detail

initAudioCache

public boolean initAudioCache(AudioFile afile,
                              CacheFile cfile,
                              DecoderListener fback)
Specified by:
initAudioCache in interface DecoderInterface

getInterruptStatus

public boolean getInterruptStatus()
Specified by:
getInterruptStatus in interface DecoderInterface

setInterruptStatus

public void setInterruptStatus(boolean interrupt)
Specified by:
setInterruptStatus in interface DecoderInterface

closeAudioCache

public void closeAudioCache(CacheFile cfile)
Specified by:
closeAudioCache in interface DecoderInterface

getAudioPreview

public AudioPreview getAudioPreview(CacheFile cfile,
                                    double from,
                                    double to)
Specified by:
getAudioPreview in interface DecoderInterface