|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.speech.recognition.Codec
public abstract class Codec
Audio formats.
| Field Summary | |
|---|---|
static Codec |
PCM_16BIT_11K
PCM, 16 bits, 11KHz. |
static Codec |
PCM_16BIT_22K
PCM, 16 bits, 22KHz. |
static Codec |
PCM_16BIT_8K
PCM, 16 bits, 8KHz. |
static Codec |
ULAW_8BIT_8K
ULAW, 8 bits, 8KHz. |
| Method Summary | |
|---|---|
abstract byte |
getBitsPerSample()
Returns the codec bitrate. |
abstract int |
getSampleRate()
Returns the codec sample-rate. |
String |
toString()
Returns a string containing a concise, human-readable description of the receiver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Codec PCM_16BIT_8K
public static final Codec PCM_16BIT_11K
public static final Codec PCM_16BIT_22K
public static final Codec ULAW_8BIT_8K
| Method Detail |
|---|
public String toString()
Object
toString in class Objectpublic abstract int getSampleRate()
public abstract byte getBitsPerSample()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||