DOWNLOAD GAME PLAYER
Filename: gameplayer-v1.0-src.7z
Filesize: 49 KiB
Fyletype: source code
Last update date: 25th of December, 2010
|
|
Common information
- What is Game Player
Basically, Game Player is an object-oriented wrapper for bass.dll, but with some additions. It handles almost all features that bass.dll do, such as DirectSound9 & EAX effects, WinAMP plugins, internet radio and of course many stream and tracker sound formats. Currently supported formats: MO3/IT/XM/S3M/MTM/MOD/UMX/MP3/MP2/MP1/OGG/WAV. Also player can manage playlists.
The engine has a GUI for sound effects management (Game Player Visual) which allows you to quickly add DirectSound or EAX effects to your sound and then adjust them using simple interface. See screenshots.
Check out my other project Stealth Player that makes use of Game Player sound engine.
- Features
- Supporting formats: MO3/IT/XM/S3M/MTM/MOD/UMX/MP3/MP2/MP1/OGG/WAV
- DirectSound9 and EAX 2.0 effects
- GUI for effects management
- Playlists management
- WinAMP plugins support
- Playing several sounds simultaneously
- Requirements
- In order to use Game Player you should accept terms of GPLv3.
- To open 7z archive you should have 7-Zip installed.
- Game Player uses bass.dll v2.4.7.
- I guarantee compilation of the engine on Delphi 2010. Older versions will probably not be able to compile this library.
- To use all functionality of Game Player you should have DirectX 9 installed.
- To get sources from SVN you may use TortoiseSVN, for example.
Compilation and usage
- Getting sources from SVN
Instead of downloading source code in archive you may get project sources from SVN. This allows you always to have the latest version of source code. It may be useful if you want to test new features before they appear in release version, but that code may contain some unresolved bugs too.
Project SVN location: https://gameplayer.svn.sourceforge.net/svnroot/gameplayer
- Compiler directives
Game Player has big functionality, but you probaly don't need all of this in every project. You may disable some functionality to reduce size of target binary and improve performance of overall engine.
Here is the list of compiler directives located in gameplayer.inc. Disabling one of these directives will remove the corresponding functionality.
Compiler directive | Functionality |
{$DEFINE GP_PLUGINS} | Loading WinAMP plugins |
{$DEFINE GP_PLAYLIST} | Playlists management |
{$DEFINE GP_EFFECTS} | DirectSound and EAX effects support |
{$DEFINE GP_INTERNET} | Internet radio support |
Since version 1.0 there are new directives added to help to disable some functionality without a need to touch gameplayer.inc. You can make your compiler to use these directives by specifying them in command line line parameters or you can put them down in IDE settings. See example below.
Compiler directive | Functionality |
{$DEFINE GP_DISABLE_PLUGINS} | Disable loading WinAMP plugins |
{$DEFINE GP_DISABLE_PLAYLIST} | Disable playlists management |
{$DEFINE GP_DISABLE_EFFECTS} | Disable DirectSound and EAX effects support |
{$DEFINE GP_DISABLE_INTERNET} | Disable Internet radio support |
For example (for Delphi 2010), if you want to compile your project without using plugins and effects support, then go to Project -> Options -> Delphi Compiler and add "GP_DISABLE_PLUGINS;GP_DISABLE_EFFECTS" (without quotes) to "Conditional defines" field.
Other topics
|