本源码是对著名的开源代码CoolPlayer的扩充,其中有些来自于其它的开源代码,一切的版权属原机构或原作者。
在此对原作者致敬!
包含的功能:
1、支持mp3种格式的音乐文件播放。
2、通过插件支持其它格式的音乐文件播放。
3、支持换肤功能。
4、进行了汉化。
5、增加了mp3歌词显示功能。
6、增加了音乐搜索功能,要有网站和数据库支持。
7、增加了多文件,多线程的下载功能。
8、增加了编辑mp3标记功能。
9、支持网络播放功能。
10、改善原来的网络播放功能。
11、其它的改善。
技术应用:
1、mp3解码技术。
2、插件技术。
3、换肤技术。4、C调用WebService技术。
5、多线程技术。
6、多文件,多线程的下载技术。
7、C读写XML文件技术。
8、还有很多。:)

欢迎联系探讨!

重新修改过下载地址:http://www.cnblogs.com/Files/wantfly/TopMPlayer.rar

Posted on 2008-05-04 11:07 wantfly 阅读(1326) 评论(7)  编辑 收藏 引用 所属分类: C/C++

Feedback

# re: TopPlayer播放器源码发布   回复  更多评论   

2008-05-04 12:00 by hhatss007
不错的东西,我3年前也做过类似的,也是用CoolPlayer的媒体播放部分,界面和功能与iTunes一样。

做这种东西会让你心有余而力不足的,国外的软件会让你完全失去信心,开源的soundbird也做得非常好了,呵呵

# re: TopPlayer播放器源码发布   回复  更多评论   

2008-05-04 14:44 by Wang Feng
第一个文件就编译不过去
部分输出:
CLV_ListView.c:2831: error: ‘CIs_ListViewData’ has no member named ‘m_pColumns’
CLV_ListView.c:2834: error: ‘rInvalid’ undeclared (first use in this function)
CLV_ListView.c:2835: error: ‘CIs_ListViewData’ has no member named ‘m_rClient’
CLV_ListView.c:2837: error: ‘CIs_ListViewData’ has no member named ‘m_pColumns’
CLV_ListView.c:2838: error: ‘CIs_ListViewData’ has no member named ‘m_hWnd’
CLV_ListView.c:2838: error: ‘FALSE’ undeclared (first use in this function)
CLV_ListView.c: In function ‘CLV_Invalidate’:
CLV_ListView.c:2849: error: ‘CIs_ListViewData’ has no member named ‘m_hWnd’
CLV_ListView.c:2849: error: ‘FALSE’ undeclared (first use in this function)
CLV_ListView.c: In function ‘RemoveSelectedItem’:
CLV_ListView.c:2859: error: ‘BOOL’ undeclared (first use in this function)
CLV_ListView.c:2859: error: expected ‘;’ before ‘bMoved’
CLV_ListView.c:2864: error: ‘struct <anonymous>’ has no member named ‘m_hPlaylistViewControl’
CLV_ListView.c:2865: error: ‘struct <anonymous>’ has no member named ‘m_hPlaylistViewControl’
CLV_ListView.c:2868: error: ‘BROWSEINFO’ undeclared (first use in this function)
CLV_ListView.c:2868: error: expected ‘;’ before ‘browseinfo’
CLV_ListView.c:2869: error: ‘LPITEMIDLIST’ undeclared (first use in this function)
CLV_ListView.c:2869: error: expected ‘;’ before ‘itemlist’
CLV_ListView.c:2873: error: ‘browseinfo’ undeclared (first use in this function)
CLV_ListView.c:2873: error: ‘HWND’ undeclared (first use in this function)
CLV_ListView.c:2873: error: expected ‘;’ before ‘G_MTabCtrl’
CLV_ListView.c:2877: error: ‘BIF_EDITBOX’ undeclared (first use in this function)
CLV_ListView.c:2882: error: ‘itemlist’ undeclared (first use in this function)
CLV_ListView.c:2882: warning: implicit declaration of function ‘SHBrowseForFolder’
CLV_ListView.c:2885: warning: implicit declaration of function ‘SHGetPathFromIDList’
CLV_ListView.c:2885: error: ‘struct <anonymous>’ has no member named ‘main_text_last_browsed_dir’
CLV_ListView.c:2871: warning: unused variable ‘directorychoice’
CLV_ListView.c:2890: error: ‘struct <anonymous>’ has no member named ‘m_hPlaylistViewControl’
CLV_ListView.c:2893: warning: implicit declaration of function ‘lstrcpyn’
CLV_ListView.c:2901: warning: implicit declaration of function ‘lstrcpy’
CLV_ListView.c:2901: error: ‘struct <anonymous>’ has no member named ‘main_text_last_browsed_dir’
CLV_ListView.c:2902: warning: implicit declaration of function ‘lstrcat’
CLV_ListView.c:2903: error: ‘bMoved’ undeclared (first use in this function)
CLV_ListView.c:2903: warning: implicit declaration of function ‘MoveFile’
CLV_ListView.c:2906: warning: implicit declaration of function ‘CPLI_SetPath’
CLV_ListView.c:2912: error: ‘struct <anonymous>’ has no member named ‘m_hPlaylistViewControl’
CLV_ListView.c:2914: error: ‘struct <anonymous>’ has no member named ‘m_hPlaylistViewControl’
CLV_ListView.c:2858: warning: unused variable ‘cNewPath’
CLV_ListView.c:2857: warning: unused variable ‘cPath’
CLV_ListView.c: At top level:
CLV_ListView.c:2916: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CPlaylistWindow_CB_onAppMessage’
CLV_ListView.c:2958: error: expected ‘)’ before ‘hWnd’
CLV_ListView.c:3018: error: expected ‘)’ before ‘hWnd’
make: *** [CLV_ListView.o] Error 1

# re: TopPlayer播放器源码发布   回复  更多评论   

2008-05-04 14:45 by Wang Feng
对了,编译器
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix --mandir=/usr/share/man --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
Thread model: posix
gcc version 4.3.0 (GCC)

# re: TopPlayer播放器源码发布   回复  更多评论   

2008-05-04 15:54 by 王晓轩
1>------ 已启动生成: 项目: libmad, 配置: Debug Win32 ------
1>正在编译...
1>layer3.c
1>c:\tddownload\src\topmplayer\libmad\layer3.c(337) : fatal error C1083: Cannot open include file: 'rq_table.dat': No such file or directory
1>layer12.c
1>c:\tddownload\src\topmplayer\libmad\layer12.c(46) : fatal error C1083: Cannot open include file: 'sf_table.dat': No such file or directory
1>Generating Code...
1>生成日志保存在“file://c:\TDDOWNLOAD\Src\TopMPlayer\libmad\msvc++\Debug\BuildLog.htm”
1>libmad - 2 个错误,0 个警告
2>------ 已启动生成: 项目: TopMPlayer, 配置: Debug Win32 ------
2>正在编译...
2>CPI_Player_Output_DirectSound.c
2>.\CPI_Player_Output_DirectSound.c(30) : fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory
2>生成日志保存在“file://c:\TDDOWNLOAD\Src\TopMPlayer\Debug\BuildLog.htm”
2>TopMPlayer - 1 个错误,0 个警告
========== 生成: 0 已成功, 2 已失败, 3 最新, 0 已跳过 ==========

这是使用VS2005编译时出现的错误,是不是有些文件没有包含?

# re: TopPlayer播放器源码发布   回复  更多评论   

2008-05-06 09:25 by wantfly
to hhatss007 :
开始的时候为兴趣去做,希望可以做一个短小精悍,功能强大的共享软件,但真是心有余力不足。
to Wang Feng :
我一直是用VC2005进行编译,没用过GCC进行编译。
to 王晓轩:
需要安装DirectSound。或者把DirectSound中的'dsound.h'复制到工程目录,当然还需要对应的lib

# re: TopPlayer播放器源码发布   回复  更多评论   

2008-05-07 20:34 by 爱拼才会赢
好像缺少文件,编译之后提示如下:
1>------ Build started: Project: libmad, Configuration: Debug Win32 ------
1>Compiling...
1>layer3.c
1>g:\目前在用\topplayer播放器源码\src\topmplayer\libmad\layer3.c(337) : fatal error C1083: Cannot open include file: 'rq_table.dat': No such file or directory
1>layer12.c
1>g:\目前在用\topplayer播放器源码\src\topmplayer\libmad\layer12.c(46) : fatal error C1083: Cannot open include file: 'sf_table.dat': No such file or directory
1>Generating Code...
1>Build log was saved at "file://g:\目前在用\TopPlayer播放器源码\Src\TopMPlayer\libmad\msvc++\Debug\BuildLog.htm"
1>libmad - 2 error(s), 0 warning(s)
2>------ Build started: Project: TopMPlayer, Configuration: Debug Win32 ------
2>Compiling resources...
2>.\TopMPlayer.rc(447) : error RC2135 : file not found: D:\iSunSystem\src\icon\stop.ico
2>.\TopMPlayer.rc(448) : error RC2135 : file not found: D:\iSunSystem\src\icon\down.ico
2>.\TopMPlayer.rc(449) : error RC2135 : file not found: D:\iSunSystem\src\icon\OK.ico
2>.\TopMPlayer.rc(450) : error RC2135 : file not found: D:\iSunSystem\src\icon\pause.ico
2>.\TopMPlayer.rc(451) : error RC2135 : file not found: D:\iSunSystem\src\icon\Delete.Ico
2>Build log was saved at "file://g:\目前在用\TopPlayer播放器源码\Src\TopMPlayer\Debug\BuildLog.htm"
2>TopMPlayer - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 3 up-to-date, 0 skipped ==========

# re: TopPlayer播放器源码发布   回复  更多评论   

2008-05-19 10:34 by wantfly
已经重新上传过,下载后直接可以编译(VS2005编译通过)

标题  
姓名  
主页
验证码 *
内容(提交失败后,可以通过“恢复上次提交”恢复刚刚提交的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
[使用Ctrl+Enter键可以直接提交]