Switch to unified view

a/src/renderctl.cxx b/src/renderctl.cxx
...
...
44
static const string sIdRender("urn:upnp-org:serviceId:RenderingControl");
44
static const string sIdRender("urn:upnp-org:serviceId:RenderingControl");
45
45
46
static const int minVolumeDelta = 5;
46
static const int minVolumeDelta = 5;
47
47
48
UpMpdRenderCtl::UpMpdRenderCtl(UpMpd *dev, bool noev)
48
UpMpdRenderCtl::UpMpdRenderCtl(UpMpd *dev, bool noev)
49
    : UpnpService(sTpRender, sIdRender, dev, noev), m_dev(dev), 
49
    : UpnpService(sTpRender, sIdRender, "RenderingControl.xml",
50
      m_desiredvolume(-1)
50
                  dev, noev), m_dev(dev), m_desiredvolume(-1)
51
{
51
{
52
    m_dev->addActionMapping(this, "SetMute", 
52
    m_dev->addActionMapping(this, "SetMute", 
53
                            bind(&UpMpdRenderCtl::setMute, this, _1, _2));
53
                            bind(&UpMpdRenderCtl::setMute, this, _1, _2));
54
    m_dev->addActionMapping(this, "GetMute", 
54
    m_dev->addActionMapping(this, "GetMute", 
55
                            bind(&UpMpdRenderCtl::getMute, this, _1, _2));
55
                            bind(&UpMpdRenderCtl::getMute, this, _1, _2));