blob: 875639eb99dc52e70d4248d8443a0b93791abfa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/**
* @file encoderbroadcastsettings.h
* @author Josep Maria Antolín
* @date Feb 27 2017
* @brief storage of broadcast settings for the encoders.
*/
#ifndef ENCODERBROADCASTSETTINGS_H
#define ENCODERBROADCASTSETTINGS_H
#include "encoder/encodersettings.h"
#include "encoder/encoder.h"
#include "preferences/broadcastsettings.h"
class EncoderBroadcastSettings : public EncoderSettings {
public:
explicit EncoderBroadcastSettings(BroadcastProfilePtr profile);
~EncoderBroadcastSettings() override = default;
// Returns the list of quality values that it supports, to assign them to the slider
QList<int> getQualityValues() const override;
// Returns the current quality value
int getQuality() const override;
int getQualityIndex() const override;
ChannelMode getChannelMode() const override;
QString getFormat() const override;
private:
QList<int> m_qualList;
BroadcastProfilePtr m_pProfile;
};
#endif // ENCODERBROADCASTSETTINGS_H
|