|
a/src/ohvolume.cxx |
|
b/src/ohvolume.cxx |
|
... |
|
... |
69 |
st["VolumeMax"] = "100";
|
69 |
st["VolumeMax"] = "100";
|
70 |
st["VolumeLimit"] = "100";
|
70 |
st["VolumeLimit"] = "100";
|
71 |
st["VolumeUnity"] = "100";
|
71 |
st["VolumeUnity"] = "100";
|
72 |
st["VolumeSteps"] = "100";
|
72 |
st["VolumeSteps"] = "100";
|
73 |
st["VolumeMilliDbPerSteps"] = millidbperstep;
|
73 |
st["VolumeMilliDbPerSteps"] = millidbperstep;
|
|
|
74 |
st["Balance"] = "0";
|
74 |
st["BalanceMax"] = "0";
|
75 |
st["BalanceMax"] = "0";
|
|
|
76 |
st["Fade"] = "0";
|
75 |
st["FadeMax"] = "0";
|
77 |
st["FadeMax"] = "0";
|
76 |
int volume = m_ctl->getvolume_i();
|
78 |
int volume = m_ctl->getvolume_i();
|
77 |
st["Volume"] = SoapHelp::i2s(volume);
|
79 |
st["Volume"] = SoapHelp::i2s(volume);
|
78 |
st["Mute"] = volume == 0 ? "1" : "0";
|
80 |
st["Mute"] = volume == 0 ? "1" : "0";
|
79 |
return true;
|
81 |
return true;
|