Constructor and Description |
---|
AudioFrame(InputStream stream,
ContentHandler handler) |
AudioFrame(int h1,
int h2,
int h3,
int h4,
InputStream in) |
Modifier and Type | Method and Description |
---|---|
int |
getChannels()
Get the number of channels (1=mono, 2=stereo)
|
int |
getSampleRate()
Get the sampling rate, in Hz
|
String |
getVersion() |
static boolean |
isAudioHeader(int h1,
int h2,
int h3,
int h4)
Does this appear to be a 4 byte audio frame header?
|
public AudioFrame(InputStream stream, ContentHandler handler) throws IOException, SAXException, TikaException
IOException
SAXException
TikaException
public AudioFrame(int h1, int h2, int h3, int h4, InputStream in) throws IOException
IOException
public String getVersion()
public int getSampleRate()
public int getChannels()
public static boolean isAudioHeader(int h1, int h2, int h3, int h4)
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.