An Ogg audio recorder. More...
Public Member Functions | |
| AudioRecorder (String path, fm.liveswitch.AudioFormat inputFormat) | |
| Initializes a new instance of the fm.liveswitch.ogg.AudioRecorder class. More... | |
| String | getArtist () |
| Gets the file artist. More... | |
| String | getTitle () |
| Gets the file title. More... | |
| String | getVendor () |
| Gets the file vendor. More... | |
| void | setArtist (String value) |
| Sets the file artist. More... | |
| void | setTitle (String value) |
| Sets the file title. More... | |
| void | setVendor (String value) |
| Sets the file vendor. 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... | |
An Ogg audio recorder.
| fm.liveswitch.ogg.AudioRecorder.AudioRecorder | ( | String | path, |
| fm.liveswitch.AudioFormat | inputFormat | ||
| ) |
Initializes a new instance of the fm.liveswitch.ogg.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.
| String fm.liveswitch.ogg.AudioRecorder.getArtist | ( | ) |
Gets the file artist.
| String fm.liveswitch.ogg.AudioRecorder.getTitle | ( | ) |
Gets the file title.
| String fm.liveswitch.ogg.AudioRecorder.getVendor | ( | ) |
Gets the file vendor.
| void fm.liveswitch.ogg.AudioRecorder.setArtist | ( | String | value | ) |
Sets the file artist.
| void fm.liveswitch.ogg.AudioRecorder.setTitle | ( | String | value | ) |
Sets the file title.
| void fm.liveswitch.ogg.AudioRecorder.setVendor | ( | String | value | ) |
Sets the file vendor.