摘要
介绍一种跨平台可移植的多媒体播放器的设计和实现。它采用模块化的设计方法,以C/C++作为实现语言。该设计方法可以广泛应用于包括IBM-PC平台在内的多种平台。详细阐述可移植播放器的模块划分,各自的功能,各模块的平台相关性以及各模块间的通信方法。最后,介绍基于该设计构架的播放器在Microsoft Win32和Ubuntu Linux上的具体实现。实验证明,采用这样跨平台的设计方法能较大地提高多媒体播放软件在多个平台的开发效率。
This paper presents the design and implementation of a portable cross-platform digital media player.The player employs modularised design and uses C/C++ as its implementation language.The method used in the design can be extensively applied to diverse platforms including IBM-PC.The paper explains in detail the partition of modules of cross-platform player,their corresponding functions,platform pertinency,and inter-communication.Actual implementation of the player,which is based on this design architecture,on Microsoft Windows32 and Ubuntu Linux platforms is given at the end of the paper.Experiments show that using this cross-platform design approach can significantly improve the development efficiency of multi-media playing software on different platforms.
出处
《计算机应用与软件》
CSCD
2011年第5期235-238,298,共5页
Computer Applications and Software