MythTV master
asirecorder.h
Go to the documentation of this file.
1// -*- Mode: c++ -*-
2/*
3 * Copyright (C) Daniel Kristjansson 2010
4 *
5 * Copyright notice is in asirecorder.cpp of the MythTV project.
6 */
7
8#ifndef ASI_RECORDER_H
9#define ASI_RECORDER_H
10
11// MythTV includes
12#include "dtvrecorder.h"
13
16class ASIChannel;
17class QString;
18class TVRec;
19
56{
57 public:
58 ASIRecorder(TVRec *rec, ASIChannel *channel);
59
61 const QString &videodev,
62 const QString &audiodev,
63 const QString &vbidev) override; // RecorderBase
64
65 void run(void) override; // RecorderBase
66
67 bool Open(void);
68 bool IsOpen(void) const;
69 void Close(void);
70 void StartNewFile(void) override; // RecorderBase
71
72 private:
75};
76
77#endif // ASI_RECORDER_H
-*- Mode: c++ -*-
Definition: asichannel.h:15
This is a specialization of DTVRecorder used to handle streams from ASI drivers.
Definition: asirecorder.h:56
void StartNewFile(void) override
Definition: asirecorder.cpp:72
bool IsOpen(void) const
void SetOptionsFromProfile(RecordingProfile *profile, const QString &videodev, const QString &audiodev, const QString &vbidev) override
Sets basic recorder options.
Definition: asirecorder.cpp:60
ASIChannel * m_channel
Definition: asirecorder.h:73
bool Open(void)
void Close(void)
ASIStreamHandler * m_streamHandler
Definition: asirecorder.h:74
ASIRecorder(TVRec *rec, ASIChannel *channel)
Definition: asirecorder.cpp:39
void run(void) override
run() starts the recording process, and does not exit until the recording is complete.
Definition: asirecorder.cpp:86
This is a specialization of RecorderBase used to handle MPEG-2, MPEG-4, MPEG-4 AVC,...
Definition: dtvrecorder.h:35
This is the coordinating class of the Recorder Subsystem.
Definition: tv_rec.h:143