⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainproc.c

📁 C语言编写的监控中心终端程序。基于GPRS上传收发数据功能
💻 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 + -