wince tcpmp移植相关

 

tcpmp:移植:
————————————————————————————————————
TCPMP停止播放:
Player->Set(Player,PLAYER_STOP,NULL,0);   
而不是:
// b = 1;
//Player->Set(Player,PLAYER_STOP,&b,sizeof(b));
——————————————————————————————————————————————————————————————————

if(Context_Init((tchar_t*)T("TCPMP"),(tchar_t*)T("0.72SRC"),3,NULL, NULL))
{

//player* Player = (player *)Context()->Player;
//bool_t b = 0;
//Player->Set(Player,PLAYER_PLAY,&b,sizeof(b));

//int n = 0;
//Player->Set(Player,PLAYER_LIST_COUNT,&n,sizeof(n));

Context_Wnd((void*)(::GetDlgItem(m_hWnd, IDC_STATICPLAYER)));//必须要的

}
player* Player = (player *)Context()->Player;
bool_t b = 0;
//Player->Set(Player,PLAYER_PLAY,&b,sizeof(b));
//int n = 0;
//Player->Set(Player,PLAYER_LIST_COUNT,&n,sizeof(n));


LPCTSTR pszFileName = _T("//sdmmc//mp3//nocturne.mp3 ");
PlayerAdd(Player, 0, (const tchar_t *)pszFileName, NULL);


//int vol = 50;
//Player->Set(Player,PLAYER_VOLUME,&vol,sizeof(int));//可以不要

b = 1;
Player->Set(Player,PLAYER_PLAY,&b,sizeof(b));



大家谁编译过TCPMP
在网上下载了一个TCPMP0.72的源码,evc4.0编译,在emulator环境下可以运行。
但是到了ARMV4I下,common目录编译总是出错,以下是出错信息,各位谁编译
成功过,指点一下

Linking...
   Creating library ARMV4IDbg/common.lib and object ARMV4IDbg/common.exp
platform.obj : error LNK2019: unresolved external symbol CPUSpeedClk referenced in function CPUSpeed
block_c.obj : error LNK2019: unresolved external symbol CopyBlock8x8 referenced in function Copy420
block_half.obj : error LNK2019: unresolved external symbol CopyBlock8x8 referenced in function Copy420Half
block_wmmx.obj : error LNK2001: unresolved external symbol CopyBlock8x8
idct_c.obj : error LNK2001: unresolved external symbol CopyBlock8x8
block_c.obj : error LNK2019: unresolved external symbol CopyBlock16x16 referenced in function Copy420
block_c.obj : error LNK2019: unresolved external symbol IDCT_Block8x8 referenced in function Intra8x8
block_wmmx.obj : error LNK2001: unresolved external symbol IDCT_Block8x8
block_c.obj : error LNK2019: unresolved external symbol IDCT_Block4x8 referenced in function Intra8x8
block_wmmx.obj : error LNK2001: unresolved external symbol IDCT_Block4x8
block_c.obj : error LNK2019: unresolved external symbol IDCT_Block8x8Swap referenced in function Intra8x8Swap
block_wmmx.obj : error LNK2001: unresolved external symbol IDCT_Block8x8Swap
block_c.obj : error LNK2019: unresolved external symbol IDCT_Block4x8Swap referenced in function Intra8x8Swap
block_wmmx.obj : error LNK2001: unresolved external symbol IDCT_Block4x8Swap
block_wmmx.obj : error LNK2019: unresolved external symbol WMMXIDCT_Const8x8 referenced in function WMMXInter8x8BackFwd
softidct.obj : error LNK2001: unresolved external symbol CopyBlockHorVerRound
zhoupeng1979 2009-1-6 11:45
问题解决了,是汇编的问题
xiechuxin 2009-1-8 17:25
请教:如何解决
我也遇到同样的问题,请教下如何解决
zhoupeng1979 2009-1-14 11:35
在几个汇编文件上加上编译选项:
armasm -32 -cpu xscale "$(InputPath)" "$(IntDir)/$(InputName).obj" -list "$(IntDir)/$(InputName).lst"
输出增加:
$(IntDir)/$(InputName).obj

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值