mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
driver/rcinput.cpp: add NeutrinoMessages::EVT_HOTPLUG
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2a6ef5b30d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-23 (Wed, 23 Apr 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1167,6 +1167,13 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
|
||||
}
|
||||
else if (emsg.initiatorID == CEventServer::INITID_NEUTRINO)
|
||||
{
|
||||
printf("CRCInput::getMsg_us: INITID_NEUTRINO: msg %x size %d data %x\n", (int) emsg.eventID, emsg.dataSize, (int) p);
|
||||
if (emsg.eventID == NeutrinoMessages::EVT_HOTPLUG) {
|
||||
printf("EVT_HOTPLUG: [%s]\n", (char *) p);
|
||||
*msg = emsg.eventID;
|
||||
*data = (neutrino_msg_data_t) p;
|
||||
dont_delete_p = true;
|
||||
}
|
||||
#if 0
|
||||
if ((emsg.eventID == NeutrinoMessages::EVT_RECORDING_ENDED) &&
|
||||
(read_bytes == sizeof(stream2file_status2_t)))
|
||||
|
@@ -158,7 +158,9 @@ struct NeutrinoMessages {
|
||||
EVT_RECORDING_ENDED = CRCInput::RC_WithData + 23,
|
||||
/* sectionsd */
|
||||
EVT_EIT_COMPLETE = CRCInput::RC_WithData + 24, /* data: (t_channel_id *) */
|
||||
EVT_BACK_ZAP_COMPLETE = CRCInput::RC_WithData + 25 /* data: (t_channel_id *) */
|
||||
EVT_BACK_ZAP_COMPLETE = CRCInput::RC_WithData + 25, /* data: (t_channel_id *) */
|
||||
|
||||
EVT_HOTPLUG = CRCInput::RC_WithData + 26 /* data: char */
|
||||
};
|
||||
enum
|
||||
{
|
||||
|
Reference in New Issue
Block a user