public interface AudioDecoder
| Modifier and Type | Method and Description |
|---|---|
default AudioInputStream |
decode(File inputFile)
Decode an audio file into raw (PCM encoded) audio.
|
AudioInputStream |
decode(InputStream input) |
default AudioInputStream decode(File inputFile) throws UnsupportedAudioFileException, Throwable
inputFile - is the input audio fileUnsupportedAudioFileException - if this decoder does not recognize
the file format of inputFileThrowable - when some other error happensAudioInputStream decode(InputStream input) throws UnsupportedAudioFileException, Throwable
Copyright © 2010–2025 The DAISY Consortium. All rights reserved.