Advertisement
svenhoefer

Untitled

Apr 22nd, 2021
847
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | None | 0 0
  1. #if HAVE_CST_HARDWARE
  2.     if (select == numpida) {
  3.         currentac3 == 1 ? currentac3 = 0 : currentac3 = 1;
  4.         playback->SetAPid(currentapid, currentac3);
  5.         printf("[movieplayer] currentac3 changed to %d\n", currentac3);
  6.     }
  7.     else
  8. #else
  9.     if ((select >= 0) && (currentapid != apids[select])) {
  10.         currentapid = apids[select];
  11.         currentac3 = ac3flags[select];
  12.         playback->SetAPid(currentapid, currentac3);
  13.         getCurrentAudioName(is_file_player, currentaudioname);
  14.         printf("[movieplayer] apid changed to %d type %d\n", currentapid, currentac3);
  15.     }
  16. #endif
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement