Mercurial > jmeCapture
annotate src/com/aurellem/capture/video/IVideoRecorder.java @ 23:b643413c3aba
going to improve WaveFileWriter
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 30 Oct 2011 04:22:14 -0700 |
parents | 5dfc9e768816 |
children |
rev | line source |
---|---|
rlm@9 | 1 package com.aurellem.capture.video; |
rlm@9 | 2 |
rlm@9 | 3 import java.awt.image.BufferedImage; |
rlm@9 | 4 |
rlm@9 | 5 public interface IVideoRecorder{ |
rlm@9 | 6 |
rlm@9 | 7 void record(BufferedImage image); |
rlm@9 | 8 |
rlm@9 | 9 void pause(); |
rlm@9 | 10 |
rlm@9 | 11 void start(); |
rlm@9 | 12 |
rlm@9 | 13 /** |
rlm@9 | 14 * closes the video file, writing appropriate headers, trailers, etc. |
rlm@9 | 15 * After this is called, no more recording can be done. |
rlm@9 | 16 */ |
rlm@9 | 17 void finish(); |
rlm@9 | 18 |
rlm@9 | 19 } |
rlm@9 | 20 |
rlm@9 | 21 |