Package jmri.jmrit.vsdecoder
Class AudioUtil
java.lang.Object
jmri.jmrit.vsdecoder.AudioUtil
Utility class for doing "VSD-special" things with the JMRI Audio classes.
This file is part of JMRI.
This file is part of JMRI.
JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ByteBuffer>getByteBufferList(InputStream stream, int max_time, int min_time) static ByteBuffergetWavData(InputStream stream) static int[]getWavFormats(InputStream stream) static boolean
-
Constructor Details
-
AudioUtil
public AudioUtil()
-
-
Method Details
-
getWavData
-
getWavFormats
-
isAudioRunning
-
getByteBufferList
-