📄 mainproc.c
字号:
#include "config.h"
#include "global.h"
#include "regmap.h"
#include "util.h"
#include "func.h"
#include "audio.h"
#include "auctrl.h"
#include "avd.h"
#include "sig.h"
#include "macro.h"
#include "osd.h"
void MediaMainLoop(void)
{
regs0->seq_ext = 0;
#if 1
if (GetIntrMask() & INTR_FOUND) {
do {
polling();
} while(!(GetIntrFlag() & INTR_FOUND));
}
#endif
repeat_escape = 0;
cderr_clearES_seqerr(); // jhuang playability 2002/12/4
cderr_clearLS_seqerr(); // jhuang playability 2002/12/4
cderr_clear_seekerr();
cderr_clear_crcerr();
timestamp_cd = regs0->rtc_15_0;
do {
/* polling system status for pending-job */
polling();
/* doing kernel routine. */
srv_kernel();
polling_Qtable();
if (vcd_state & VCD_CDDA) {
cdda_main();
cdda_forward_chk();
}
if (vcd_state & VCD_AUDIO) {
au_main();
}
} while (!IsAVDMediaInterrupt());
stop_audio();
if ((GetIntrFlag() & INTR_PROG_END) ||
(GetIntrFlag() & INTR_TRACK_CHANGE)) {
#ifdef SUPPORT_ALL_PLAY_LIST
// if (IsPBCOn())
// Chg2PlayMd();
// UISetState(VCD_STATE_NORMAL);
#endif
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -