mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
neutrino: add more RC_playpause handling
Origin commit data
------------------
Branch: ni/coolstream
Commit: 764b25542f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Origin message was:
------------------
- neutrino: add more RC_playpause handling
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -442,6 +442,15 @@ int CAudioPlayerGui::show()
|
||||
}
|
||||
g_RCInput->getMsg(&msg, &data, 10); // 1 sec timeout to update play/stop state display
|
||||
|
||||
if (msg == CRCInput::RC_playpause)
|
||||
{
|
||||
// manipulate msg
|
||||
if (m_state == CAudioPlayerGui::PAUSE)
|
||||
msg = CRCInput::RC_play;
|
||||
else
|
||||
msg = CRCInput::RC_pause;
|
||||
}
|
||||
|
||||
if (msg == CRCInput::RC_timeout || msg == NeutrinoMessages::EVT_TIMER)
|
||||
{
|
||||
int delay = time(NULL) - m_idletime;
|
||||
|
Reference in New Issue
Block a user