A Matroska audio recorder. More...
Public Member Functions | |
AudioRecorder (String path, fm.liveswitch.AudioFormat inputFormat) | |
Initializes a new instance of the fm.liveswitch.matroska.AudioRecorder class. More... | |
Public Member Functions inherited from fm.liveswitch.AudioRecorder | |
AudioRecorder (String path) | |
Initializes a new instance of the fm.liveswitch.AudioRecorder class. More... | |
Protected Member Functions | |
void | doUpdateHeader () |
Updates the file header. More... | |
boolean | doWrite (fm.liveswitch.AudioBuffer buffer, long presentationTimestamp) |
Write an encoded video frame. More... | |
void | doWriteHeader () |
Writes the file header. More... | |
A Matroska audio recorder.
fm.liveswitch.matroska.AudioRecorder.AudioRecorder | ( | String | path, |
fm.liveswitch.AudioFormat | inputFormat | ||
) |
Initializes a new instance of the fm.liveswitch.matroska.AudioRecorder class.
path | The path. |
inputFormat | The input format. |
|
protected |
Updates the file header.
|
protected |
Write an encoded video frame.
buffer | The encoded buffer. |
presentationTimestamp | The presentation timestamp. |
|
protected |
Writes the file header.