com.tuneology.avm.recorder
Class Recorder
java.lang.Object
|
+--com.tuneology.avm.recorder.Recorder
- Direct Known Subclasses:
- ALSARecorder, EsdRecorder, NativeRecorder
- public abstract class Recorder
- extends java.lang.Object
An abstract class for representing a way to record a media file.
- Version:
- $Id: Recorder.java,v 1.6 2003/07/10 19:52:12 xnarf Exp $
- Author:
- Fran Taylor
Field Summary |
protected java.lang.String |
dev
|
Constructor Summary |
protected |
Recorder(java.lang.String dev)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dev
protected java.lang.String dev
Recorder
protected Recorder(java.lang.String dev)
getAudioRecorders
public static java.lang.Class[] getAudioRecorders()
newAudioRecorder
public static AudioRecorder newAudioRecorder(java.lang.String dev)
throws java.io.IOException
getAudioDevices
public static java.lang.String[] getAudioDevices()
getDescription
public static java.lang.String getDescription(java.lang.Class cl)
throws java.lang.Exception
- Returns a string describing the recorder class.
- Returns:
- a string describing the recorder class.
getDeviceDescription
public static java.lang.String getDeviceDescription(java.lang.String dev)
- Returns a string describing the device.
TODO: this should be more sophisticated.
- Returns:
- a string describing the device.
getVideoRecorders
public static java.lang.Class[] getVideoRecorders()
newRecorder
public static MediaRecorder newRecorder(java.lang.String dev,
java.lang.Class cl)
throws java.lang.Exception
getVersions
public static java.lang.String getVersions()