Changeset 39803
- Timestamp:
- 01/26/17 17:05:25 (6 years ago)
- Location:
- titan/titan
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/infobar.h
r39797 r39803 1117 1117 printf("---------> %i\n",rcret); 1118 1118 if(status.recording > 0 && rcret == getrcconfigint("rcpiprec", NULL)) 1119 pipchannel = status.recchnode[1]; 1119 { 1120 for(int i = 0; i < 9; i++) 1121 { 1122 if(status.recchnode[i] != NULL) 1123 { 1124 pipchannel = status.recchnode[i]; 1125 break; 1126 } 1127 } 1128 } 1120 1129 else if(rcret == getrcconfigint("rcpiprec", NULL)) 1121 1130 textbox(_("Message"), _("no record channel found"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0); -
titan/titan/rc.h
r39746 r39803 306 306 { 307 307 rcsignal(0); 308 #ifdef DREAMBOX 309 if(longpresscount > 0) 310 { 311 rcdata.code = longpress; 312 if(longpresscount > 3) rcdata.code = longpress + 3000; 313 ret = rcdata.code; 314 break; 315 } 316 #endif 308 317 usleep(10000); 309 318 continue; … … 317 326 longpresscount++; 318 327 timeout = 0; 328 #ifdef DREAMBOX 329 if(longpresscount == 1) 330 rest = 700; 331 else 332 rest = 500; 333 #else 319 334 rest = 500; 335 #endif 320 336 usleep(10000); 321 337 continue; -
titan/titan/record.h
r39797 r39803 333 333 else 334 334 { 335 status.recchnode[status.recording] = NULL; 335 for(int i = 0; i < 9; i++) 336 { 337 if(status.recchnode[i] == node->channel) 338 { 339 status.recchnode[i] = NULL; 340 break; 341 } 342 } 336 343 status.recording--; 337 344 } … … 1414 1421 { 1415 1422 status.recording++; 1416 status.recchnode[status.recording] = chnode; 1423 for(int i = 0; i < 9; i++) 1424 { 1425 if(status.recchnode[i] == NULL) 1426 { 1427 status.recchnode[i] = chnode; 1428 break; 1429 } 1430 } 1417 1431 servicenode->recname = ostrcat(filename, NULL, 0, 0); 1418 1432 if(VFD_Recordthread == NULL && getconfigint("vfdisplayrecord", NULL) != 0)
Note: See TracChangeset
for help on using the changeset viewer.