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

📄 interact.cpp

📁 传输流分析
💻 CPP
字号:
#include "main.h"/*************************************************************************    Startbildschirm und Anzahl der Argumente     Intro Screen and argument check*************************************************************************//******************************************************************	Status_Info 	prints a status line during multiplexing******************************************************************/void status_info (        unsigned int nsectors_a,        unsigned int nsectors_a1,        unsigned int nsectors_v,        unsigned int nsectors_p,        unsigned int nbytes,        unsigned int buf_v,        unsigned int buf_a,        unsigned int buf_a1){        fprintf(statfile, "  | %7d | %7d | %7d | %7d | %11d | %6d | %6d | %6d |\n",                nsectors_a, nsectors_a1, nsectors_v, nsectors_p, nbytes, buf_a, buf_a1, buf_v);}void status_header(char *filename){        fprintf(statfile, "\n");        fprintf(statfile, "Multiplexing file %s\n\n", filename);        status_footer();        fprintf(statfile, "  |  Audio1 |  Audio2 |  Video  | Padding | Bytes  MPEG | Audio1 | Audio2 | Video  |\n");        fprintf(statfile, "  | Sectors | Sectors | Sectors | Sectors | System File | Buffer | Buffer | Buffer |\n");        status_footer();}void status_message (        unsigned char what){        switch (what) {        case STATUS_AUDIO_END:                fprintf(statfile, "  |file  end|         |         |         |             |        |        |        |\n");                break;        case STATUS_AUDIO_TIME_OUT:                fprintf(statfile, "  |time  out|         |         |         |             |        |        |        |\n");                break;        case STATUS_AUDIO1_END:                fprintf(statfile, "  |         |file  end|         |         |             |        |        |        |\n");                break;        case STATUS_AUDIO1_TIME_OUT:                fprintf(statfile, "  |         |time  out|         |         |             |        |        |        |\n");                break;        case STATUS_VIDEO_END:                fprintf(statfile, "  |         |         |file  end|         |             |        |        |        |\n");                break;        case STATUS_VIDEO_TIME_OUT:                fprintf(statfile, "  |         |         |time  out|         |             |        |        |        |\n");        }}void status_footer (){        fprintf(statfile, "  +---------+---------+---------+---------+-------------+--------+--------+--------+\n");}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -