• 大小: 13.16MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-05
  • 语言: 其他
  • 标签: faac  aac  windows  x86  dll  

资源简介

faac aac windows x86 版本动态库以及静态库支持, 包含官网下载的源码

资源截图

代码片段和文件信息

/*
CFAAC - set of classes to import/export .aac/.mp4 files
Copyright (C) 2004 Antonio Foranna

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation.

This program is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not write to the Free Software
Foundation Inc. 675 Mass Ave Cambridge MA 02139 USA.

The author can be contacted at:
ntnfrn_email-temp@yahoo.it
*/

#include “Cfaac.h“



// *********************************************************************************************
// CMyEncCfg
// *********************************************************************************************

void CMyEncCfg::getCfg(CMyEncCfg *cfg)

CRegistry reg;

if(reg.OpenCreate(HKEY_CURRENT_USER REGISTRY_PROGRAM_NAME “\\FAAC“))
{
cfg->AutoCfg=reg.GetSetBool(REG_AUTODEF_AUTO);
cfg->SaveMP4=reg.GetSetByte(REG_WRITEMP4DEF_WRITEMP4);
cfg->EncCfg.mpegVersion=reg.GetSetDword(REG_MPEGVERDEF_MPEGVER); 
cfg->EncCfg.aacobjectType=reg.GetSetDword(REG_PROFILEDEF_PROFILE); 
cfg->EncCfg.allowMidside=reg.GetSetDword(REG_MIDSIDEDEF_MIDSIDE); 
cfg->EncCfg.useTns=reg.GetSetDword(REG_TNSDEF_TNS); 
cfg->EncCfg.useLfe=reg.GetSetDword(REG_LFEDEF_LFE);
cfg->UseQuality=reg.GetSetBool(REG_USEQUALTYDEF_USEQUALTY);
cfg->EncCfg.quantqual=reg.GetSetDword(REG_QUALITYDEF_QUALITY); 
cfg->EncCfg.bitRate=reg.GetSetDword(REG_BITRATEDEF_BITRATE); 
cfg->EncCfg.bandWidth=reg.GetSetDword(REG_BANDWIDTHDEF_BANDWIDTH); 
cfg->EncCfg.outputFormat=reg.GetSetDword(REG_HEADERDEF_HEADER); 

FREE_ARRAY(cfg->OutDir);
cfg->OutDir=reg.GetSetStr(REG_OutFolder““);

cfg->TagOn=reg.GetSetByte(REG_TAGON0);
#ifdef USE_IMPORT_TAG
cfg->TagImport=reg.GetSetByte(REG_TAGIMPORT0);
#ifdef USE_PATHEXT
FREE_ARRAY(cfg->TagSrcPath);
FREE_ARRAY(cfg->TagSrcExt);
cfg->TagSrcPath=reg.GetSetStr(REG_InFolder““);
cfg->TagSrcExt=reg.GetSetStr(REG_SrcExt““);
#endif
#endif
cfg->Tag.artist=reg.GetSetStr(REG_ARTIST““);
cfg->Tag.title=reg.GetSetStr(REG_title““);
cfg->Tag.album=reg.GetSetStr(REG_ALBUM““);
cfg->Tag.year=reg.GetSetStr(REG_YEAR““);
cfg->Tag.genre=reg.GetSetStr(REG_GENRE““);
cfg->Tag.writer=reg.GetSetStr(REG_WRITER““);
cfg->Tag.comment=reg.GetSetStr(REG_COMMENT““);
cfg->Tag.trackno=reg.GetSetWord(REG_TRACK0);
cfg->Tag.ntracks=reg.GetSetWord(REG_NTRACKS0);
cfg->Tag.discno=reg.GetSetWord(REG_DISK0);
cfg->Tag.ndiscs=reg.GetSetWord(REG_NDISKS0);
cfg->Tag.compilation=reg.GetSetByte(REG_COMPILATION0);
cfg->Tag.artFilename=reg.GetSetStr(REG_ARTFILE““);
}
else
MessageBox(

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-02-01 09:21  faac-1.28\
     文件          58  2001-10-22 10:39  faac-1.28\.cvsignore
     文件        1288  2004-10-17 11:39  faac-1.28\AUTHORS
     文件       25774  2001-05-30 00:57  faac-1.28\COPYING
     文件         268  2009-02-02 15:29  faac-1.28\ChangeLog
     文件         770  2009-02-02 15:29  faac-1.28\INSTALL
     文件          43  2004-07-28 00:18  faac-1.28\Makefile.am
     文件        1926  2004-10-17 11:39  faac-1.28\NEWS
     文件        3100  2004-10-17 11:39  faac-1.28\README
     文件        1509  2004-10-17 11:39  faac-1.28\TODO
     文件         176  2004-07-28 00:18  faac-1.28\bootstrap
     目录           0  2018-02-01 09:20  faac-1.28\common\
     目录           0  2018-02-01 09:20  faac-1.28\common\Cfaac\
     文件       39854  2004-11-01 11:42  faac-1.28\common\Cfaac\AudioCoding.bmp
     文件       10670  2004-11-01 11:42  faac-1.28\common\Cfaac\CRegistry.cpp
     文件        1959  2004-11-01 11:42  faac-1.28\common\Cfaac\CRegistry.h
     文件       10568  2004-11-01 11:42  faac-1.28\common\Cfaac\CTag.cpp
     文件        2567  2004-11-01 11:42  faac-1.28\common\Cfaac\CTag.h
     文件       20104  2004-11-01 11:42  faac-1.28\common\Cfaac\Cfaac.cpp
     文件        5019  2004-11-01 11:42  faac-1.28\common\Cfaac\Cfaac.h
     文件       24651  2004-11-01 11:42  faac-1.28\common\Cfaac\Cfaad.cpp
     文件        6087  2004-11-01 11:42  faac-1.28\common\Cfaac\Cfaad.h
     文件        7163  2004-11-01 11:42  faac-1.28\common\Cfaac\DecDialog.cpp
     文件         799  2004-11-01 11:42  faac-1.28\common\Cfaac\DecDialog.h
     文件        4580  2004-11-01 11:42  faac-1.28\common\Cfaac\Email.bmp
     文件       33165  2004-11-03 05:06  faac-1.28\common\Cfaac\EncDialog.cpp
     文件         189  2004-11-01 11:42  faac-1.28\common\Cfaac\EncDialog.h
     文件       12435  2004-11-03 05:06  faac-1.28\common\Cfaac\FAAC.rc
     文件         246  2004-11-01 11:42  faac-1.28\common\Cfaac\Open.bmp
     文件         970  2004-11-01 11:42  faac-1.28\common\Cfaac\ReadMe.txt
     文件        1361  2004-11-01 11:42  faac-1.28\common\Cfaac\TypeDef.h
............此处省略241个文件信息

评论

共有 条评论