Switch to unified view

a/libupnpp/control/ohvolume.hxx b/libupnpp/control/ohvolume.hxx
...
...
34
class UPnPDeviceDesc;
34
class UPnPDeviceDesc;
35
class UPnPServiceDesc;
35
class UPnPServiceDesc;
36
36
37
typedef std::shared_ptr<OHVolume> OHVLH;
37
typedef std::shared_ptr<OHVolume> OHVLH;
38
38
39
struct OHVCharacteristics {
40
    /// VolumeMax defines the absolute maximum Volume setting.
41
    int volumeMax;;
42
    /// VolumeUnity defines the value of Volume that will result in
43
    /// unity system gain (i.e. output amplitude = input amplitude).
44
    int volumeUnity;
45
    /// VolumeSteps defines the number of step increments required to
46
    /// increase the Volume from zero to VolumeMax.
47
    int volumeSteps;
48
    /// VolumeMilliDbPerStep defines the size of each volume step in
49
    /// binary milli decibels (mibi dB). [1024mibi dB = 1dB]
50
    int volumeMilliDbPerStep;
51
    /// BalanceMax defines the maximum Balance setting. The minimum
52
    /// Balance setting is (-BalanceMax).
53
    int balanceMax;
54
    /// FadeMax defines the maximum Fade setting. The minimum Fade
55
    /// setting is (-FadeMax).
56
    int fadeMax;
57
};
58
39
/**
59
/**
40
 * OHVolume Service client class.
60
 * OHVolume Service client class.
41
 *
61
 *
42
 */
62
 */
43
class OHVolume : public Service {
63
class OHVolume : public Service {
...
...
52
72
53
    /** Test service type from discovery message */
73
    /** Test service type from discovery message */
54
    static bool isOHVLService(const std::string& st);
74
    static bool isOHVLService(const std::string& st);
55
    virtual bool serviceTypeMatch(const std::string& tp);
75
    virtual bool serviceTypeMatch(const std::string& tp);
56
76
77
    int characteristics(OHVCharacteristics* c);
57
    int volume(int *value);
78
    int volume(int *value);
58
    int setVolume(int value);
79
    int setVolume(int value);
59
    int volumeLimit(int *value);
80
    int volumeLimit(int *value);
60
    int mute(bool *value);
81
    int mute(bool *value);
61
    int setMute(bool value);
82
    int setMute(bool value);