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

📄 fs_show.h

📁 Sunplus 8202S source code.
💻 H
字号:
#ifndef __FS_SHOW_H
#define __FS_SHOW_H

//fs_message_show.c
//*************************************************************
#ifdef SUPPORT_MP4
#define MP4_INI    1       
#define UNSUPPORT_MESSAGE   2
#define UNSUPPORT_FORMAT    3
#endif
//-------------------------------------
#if defined(SUPPORT_ID3)||defined(SUPPORT_OSDID3)//liweihua 2003-12-28
#include "memmap0.h"
#ifdef S16Mb_Mode_ID3      //2004-4-16 05:27张宇P
#define ID3_MEM_START     (SDRAM_BASE + (A_MP3ID3YA)*1024)
#else
#define ID3_MEM_START     (SDRAM_BASE + (A_SUPYA)*1024)
#endif
#define LYRICS_MAX 100
#define MAX_WORD   50
#define MAX_SN_LEN 30
#define ID3_V1     0x1
#define ID3_V2     0x2

typedef struct
{
    int s[LYRICS_MAX]; //second
    char song[LYRICS_MAX][MAX_WORD]; //50 isn't limited
} LYRICS;

typedef struct
{
    LYRICS l;
    int no;
    int play_no;
    int id3_exist; //0:no id3 ,1:exist id3 info
    char song[MAX_SN_LEN + 1]; //add str end:\0
    char artist[MAX_SN_LEN + 1];
} LYR;

typedef struct
{
    BYTE tag[3];
    BYTE song_title[30];
    BYTE artist[30];
    BYTE album[30];
    BYTE year[4];
    BYTE comment[30];
    BYTE genre;
} ID3_TAG;

#endif
//*****************************************************************
#endif

⌨️ 快捷键说明

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