Switch to unified view
a/src/ohreceiver.cxx | b/src/ohreceiver.cxx | ||
---|---|---|---|
... |
... |
||
106 | { |
106 | { |
107 | if (ok && m_dev) |
107 | if (ok && m_dev) |
108 | m_dev->loopWakeup(); |
108 | m_dev->loopWakeup(); |
109 | } |
109 | } |
110 | 110 | ||
111 | void OHReceiver::setActive(bool onoff) |
||
112 | { |
||
113 | m_active = onoff; |
||
114 | if (!m_active) |
||
115 | iStop(); |
||
116 | } |
||
117 | |||
111 | bool OHReceiver::iPlay() |
118 | bool OHReceiver::iPlay() |
112 | { |
119 | { |
113 | bool ok = false; |
120 | bool ok = false; |
114 | 121 | ||
115 | if (!m_dev->m_ohpl) { |
122 | if (!m_dev->m_ohpl) { |