Blank constructor for DummyReader, with default settings.
| 48 | |
| 49 | // Blank constructor for DummyReader, with default settings. |
| 50 | DummyReader::DummyReader() : dummy_cache(NULL), last_cached_frame(NULL), image_frame(NULL), is_open(false) { |
| 51 | |
| 52 | // Initialize important variables |
| 53 | init(Fraction(24,1), 1280, 768, 44100, 2, 30.0); |
| 54 | } |
| 55 | |
| 56 | // Constructor for DummyReader. Pass a framerate and samplerate. |
| 57 | DummyReader::DummyReader(Fraction fps, int width, int height, int sample_rate, int channels, float duration) : |