|
a/upmpd/upmpd.cxx |
|
b/upmpd/upmpd.cxx |
|
... |
|
... |
134 |
addActionMapping("GetMute", bind(&UpMpd::getMute, this, _1, _2));
|
134 |
addActionMapping("GetMute", bind(&UpMpd::getMute, this, _1, _2));
|
135 |
addActionMapping("SetVolume", bind(&UpMpd::setVolume, this, _1, _2, false));
|
135 |
addActionMapping("SetVolume", bind(&UpMpd::setVolume, this, _1, _2, false));
|
136 |
addActionMapping("GetVolume", bind(&UpMpd::getVolume, this, _1, _2, false));
|
136 |
addActionMapping("GetVolume", bind(&UpMpd::getVolume, this, _1, _2, false));
|
137 |
addActionMapping("ListPresets", bind(&UpMpd::listPresets, this, _1, _2));
|
137 |
addActionMapping("ListPresets", bind(&UpMpd::listPresets, this, _1, _2));
|
138 |
addActionMapping("SelectPreset", bind(&UpMpd::selectPreset, this, _1, _2));
|
138 |
addActionMapping("SelectPreset", bind(&UpMpd::selectPreset, this, _1, _2));
|
139 |
#if 0
|
|
|
140 |
addActionMapping("GetVolumeDB",
|
|
|
141 |
bind(&UpMpd::getVolume, this, _1, _2, true));
|
|
|
142 |
addActionMapping("SetVolumeDB",
|
|
|
143 |
bind(&UpMpd::setVolume, this, _1, _2, true));
|
|
|
144 |
addActionMapping("GetVolumeDBRange",
|
|
|
145 |
bind(&UpMpd::getVolumeDBRange, this, _1, _2));
|
|
|
146 |
#endif
|
|
|
147 |
|
139 |
|
148 |
addServiceType(serviceIdTransport,
|
140 |
addServiceType(serviceIdTransport,
|
149 |
"urn:schemas-upnp-org:service:AVTransport:1");
|
141 |
"urn:schemas-upnp-org:service:AVTransport:1");
|
150 |
addActionMapping("SetAVTransportURI",
|
142 |
addActionMapping("SetAVTransportURI",
|
151 |
bind(&UpMpd::setAVTransportURI, this, _1, _2, false));
|
143 |
bind(&UpMpd::setAVTransportURI, this, _1, _2, false));
|