Mercurial > jmeCapture
annotate src/com/aurellem/capture/video/IVideoRecorder.java @ 18:2543c95a0fd2
fixed sound problem
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 29 Oct 2011 14:39:19 -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 |