org.robokind.impl.audio.config
Class PortableWavPlayerConfig
java.lang.Object
org.robokind.impl.audio.config.PortableWavPlayerConfig
- All Implemented Interfaces:
- WavPlayerConfig
public class PortableWavPlayerConfig
- extends Object
- implements WavPlayerConfig
- Author:
- Matthew Stevenson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortableWavPlayerConfig
public PortableWavPlayerConfig(WavPlayerConfigRecord record)
PortableWavPlayerConfig
public PortableWavPlayerConfig(WavPlayerConfig config)
PortableWavPlayerConfig
public PortableWavPlayerConfig(String playerId,
String wavLocation,
long startTimeMicrosec,
long stopTimeMicrosec,
long startDelayMillisec)
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-2012. All Rights Reserved.