Switch to unified view

a/upmpd/ohvolume.cxx b/upmpd/ohvolume.cxx
...
...
77
    st["VolumeSteps"] = "100";
77
    st["VolumeSteps"] = "100";
78
    st["VolumeMilliDbPerSteps"] = millidbperstep;
78
    st["VolumeMilliDbPerSteps"] = millidbperstep;
79
    st["BalanceMax"] = "0";
79
    st["BalanceMax"] = "0";
80
    st["FadeMax"] = "0";
80
    st["FadeMax"] = "0";
81
    int volume = m_ctl->getvolume_i();
81
    int volume = m_ctl->getvolume_i();
82
    st["Volume"] = SoapArgs::i2s(volume);
82
    st["Volume"] = SoapHelp::i2s(volume);
83
    st["Mute"] = volume == 0 ? "1" : "0";
83
    st["Mute"] = volume == 0 ? "1" : "0";
84
    return true;
84
    return true;
85
}
85
}
86
86
87
bool OHVolume::getEventData(bool all, std::vector<std::string>& names, 
87
bool OHVolume::getEventData(bool all, std::vector<std::string>& names, 
...
...
164
}
164
}
165
165
166
int OHVolume::volume(const SoapArgs& sc, SoapData& data)
166
int OHVolume::volume(const SoapArgs& sc, SoapData& data)
167
{
167
{
168
    LOGDEB("OHVolume::volume" << endl);
168
    LOGDEB("OHVolume::volume" << endl);
169
    data.addarg("Value", SoapArgs::i2s(m_ctl->getvolume_i()));
169
    data.addarg("Value", SoapHelp::i2s(m_ctl->getvolume_i()));
170
    return UPNP_E_SUCCESS;
170
    return UPNP_E_SUCCESS;
171
}
171
}
172
172
173
int OHVolume::mute(const SoapArgs& sc, SoapData& data)
173
int OHVolume::mute(const SoapArgs& sc, SoapData& data)
174
{
174
{