| 601 | } |
| 602 | |
| 603 | bool CCECClient::SendSetDeckControlMode(const cec_deck_control_mode mode, bool bSendUpdate /* = true */) |
| 604 | { |
| 605 | // find a playback device that we control |
| 606 | CCECPlaybackDevice *device = GetPlaybackDevice(); |
| 607 | if (device) |
| 608 | { |
| 609 | // and set the deck control mode if there is a match |
| 610 | device->SetDeckControlMode(mode); |
| 611 | if (bSendUpdate) |
| 612 | return device->TransmitDeckStatus(CECDEVICE_TV, false); |
| 613 | return true; |
| 614 | } |
| 615 | |
| 616 | // no match |
| 617 | return false; |
| 618 | } |
| 619 | |
| 620 | bool CCECClient::SendSetDeckInfo(const cec_deck_info info, bool bSendUpdate /* = true */) |
| 621 | { |
no test coverage detected