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

📄 id3tag.c

📁 MP3编码程序和资料
💻 C
字号:
/* * functions for writing ID3 tags in LAME * * text functions stolen from mp3info by Ricardo Cerqueira <rmc@rccn.net> * adapted for LAME by Conrad Sanderson <c.sanderson@me.gu.edu.au> * *  */  #include <stdio.h>#include <string.h>#include "id3tag.h" /* * If "string" is shorter than "length", pad it with ' ' (spaces) */static void id3_pad(char *string, int length) {	int l;  l=strlen(string);		while(l<length) { string[l] = ' '; l++; }	string[l]='\0';	}/* * initialize temporary fields */void id3_inittag(ID3TAGDATA *tag) {	strcpy( tag->title, "");	strcpy( tag->artist, "");	strcpy( tag->album, "");	strcpy( tag->year, "");    	strcpy( tag->comment, "");	strcpy( tag->genre, "

⌨️ 快捷键说明

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