org.mechio.api.audio
Class WavBuffer
java.lang.Object
org.mechio.api.audio.WavBuffer
public class WavBuffer
- extends Object
- Author:
- Matthew Stevenson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WavBuffer
public WavBuffer(File wavFile)
throws FileNotFoundException,
IOException,
LineUnavailableException,
UnsupportedAudioFileException
- Throws:
FileNotFoundException
IOException
LineUnavailableException
UnsupportedAudioFileException
WavBuffer
public WavBuffer(byte[] audio,
AudioFormat format)
getAudioBytes
public byte[] getAudioBytes()
getFrameCount
public long getFrameCount()
getFormat
public AudioFormat getFormat()
getAudioLocation
public String getAudioLocation()
Copyright © 2011-2015. All Rights Reserved.