|
a/src/ohvolume.cxx |
|
b/src/ohvolume.cxx |
|
... |
|
... |
122 |
return UPNP_E_SUCCESS;
|
122 |
return UPNP_E_SUCCESS;
|
123 |
}
|
123 |
}
|
124 |
|
124 |
|
125 |
int OHVolume::setMute(const SoapIncoming& sc, SoapOutgoing& data)
|
125 |
int OHVolume::setMute(const SoapIncoming& sc, SoapOutgoing& data)
|
126 |
{
|
126 |
{
|
127 |
LOGDEB("OHVolume::setMute" << endl);
|
|
|
128 |
bool mute;
|
127 |
bool mute;
|
129 |
if (!sc.get("Value", &mute)) {
|
128 |
if (!sc.get("Value", &mute)) {
|
|
|
129 |
LOGERR("OHVolume::setMute: no mute value\n");
|
130 |
return UPNP_E_INVALID_PARAM;
|
130 |
return UPNP_E_INVALID_PARAM;
|
131 |
}
|
131 |
}
|
|
|
132 |
LOGDEB("OHVolume::setMute: " << mute << endl);
|
132 |
m_dev->m_rdctl->setmute_i(mute);
|
133 |
m_dev->m_rdctl->setmute_i(mute);
|
133 |
return UPNP_E_SUCCESS;
|
134 |
return UPNP_E_SUCCESS;
|
134 |
}
|
135 |
}
|
135 |
|
136 |
|
136 |
int OHVolume::volumeInc(const SoapIncoming& sc, SoapOutgoing& data)
|
137 |
int OHVolume::volumeInc(const SoapIncoming& sc, SoapOutgoing& data)
|