org.robokind.impl.audio.config
Class PortableWavPlayerConfig

java.lang.Object
  extended by org.robokind.impl.audio.config.PortableWavPlayerConfig
All Implemented Interfaces:
WavPlayerConfig

public class PortableWavPlayerConfig
extends Object
implements WavPlayerConfig

Author:
Matthew Stevenson

Constructor Summary
PortableWavPlayerConfig(String playerId, String wavLocation, long startTimeMicrosec, long stopTimeMicrosec, long startDelayMillisec)
           
PortableWavPlayerConfig(WavPlayerConfig config)
           
PortableWavPlayerConfig(WavPlayerConfigRecord record)
           
 
Method Summary
 WavPlayerConfigRecord getRecord()
           
 long getStartDelayMillisec()
           
 long getStartTimeMicrosec()
           
 long getStopTimeMicrosec()
           
 String getWavLocation()
           
 String getWavPlayerId()
           
static void writeToFile(File file, WavPlayerConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableWavPlayerConfig

public PortableWavPlayerConfig(WavPlayerConfigRecord record)

PortableWavPlayerConfig

public PortableWavPlayerConfig(WavPlayerConfig config)

PortableWavPlayerConfig

public PortableWavPlayerConfig(String playerId,
                               String wavLocation,
                               long startTimeMicrosec,
                               long stopTimeMicrosec,
                               long startDelayMillisec)
Method Detail

getWavPlayerId

public String getWavPlayerId()
Specified by:
getWavPlayerId in interface WavPlayerConfig

getWavLocation

public String getWavLocation()
Specified by:
getWavLocation in interface WavPlayerConfig

getStartTimeMicrosec

public long getStartTimeMicrosec()
Specified by:
getStartTimeMicrosec in interface WavPlayerConfig

getStopTimeMicrosec

public long getStopTimeMicrosec()
Specified by:
getStopTimeMicrosec in interface WavPlayerConfig

getStartDelayMillisec

public long getStartDelayMillisec()
Specified by:
getStartDelayMillisec in interface WavPlayerConfig

getRecord

public WavPlayerConfigRecord getRecord()

writeToFile

public static void writeToFile(File file,
                               WavPlayerConfig config)
                        throws Exception
Throws:
Exception


Copyright © 2011-2013. All Rights Reserved.