public class MP4Driver extends Object implements VideoDriver
| Constructor and Description |
|---|
MP4Driver() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(int[] bgraData)
Propagates VIC pixel data for video drivers.
|
ByteBuffer |
buffer()
Return the bytebuffer intended to hold the audio data.
|
void |
close()
Free the audio device.
|
void |
open(AudioConfig cfg,
String recordingFilename,
CPUClock cpuClock)
Open audio interface.
|
void |
write()
Write the complete contents of ByteBuffer to audio device.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpausepublic void open(AudioConfig cfg, String recordingFilename, CPUClock cpuClock) throws IOException, LineUnavailableException
AudioDriveropen in interface AudioDrivercfg - Configuration requested.recordingFilename - name for a recordingIOExceptionLineUnavailableExceptionpublic void write()
throws InterruptedException
AudioDriverwrite in interface AudioDriverInterruptedExceptionpublic void accept(int[] bgraData)
VideoDriverCPUClock.getScreenRefresh()accept in interface Consumer<int[]>accept in interface VideoDriverpublic void close()
AudioDriverclose in interface AudioDriverpublic ByteBuffer buffer()
AudioDriverbuffer in interface AudioDriverCopyright © 2018 Ken Händel. All rights reserved.