Blame ports/README

Packit c32a2d
DISCLAIMER: The contents of the ports directory are included for convenience,
Packit c32a2d
but they usually contain files contributed by various people, not the core
Packit c32a2d
mpg123 team. The stuff is not tested by us. In some cases, it's even
Packit c32a2d
impossible to tell what is really inside. Use at your own risk (well, like
Packit c32a2d
all Free Software, actually;-).
Packit c32a2d
Packit c32a2d
This directory contains some (contributed) works covering usage and/or building
Packit c32a2d
of mpg123/libmpg123 from different programming environments. Note that those
Packit c32a2d
may be a bit outdated (especially when a file is added/removed in libmpg123
Packit c32a2d
sources); as the team lacks resource to test everything. But in any case,
Packit c32a2d
the ports can provide a good starting point on the respective platform, to get
Packit c32a2d
it to work with minimal fuzz.
Packit c32a2d
Packit c32a2d
- Delphi: mpg123_.pas
Packit c32a2d
  Unit for linking against libmpg123 (Win32, DLL).
Packit c32a2d
  ...by Arthur Pires <arthurprs@gmail.com>
Packit c32a2d
- Sony PSP: Sony_PSP/; building libmpg123 for the PSP (used for the MODO player).
Packit c32a2d
  ...by Bastian Pflieger <wb@illogical.de>
Packit c32a2d
- MSVC++: Microsoft Windows / Visual C++ builds
Packit c32a2d
  - MSVC++/CMP3Stream:
Packit c32a2d
    project for building libmpg123 with interface class.
Packit c32a2d
    ...by "Gates Fan" <gatesfan@gmail.com>
Packit c32a2d
  - MSVC++/mpg123.h
Packit c32a2d
    A wrapper header over mpg123.h.in (yes, the template file in
Packit c32a2d
    ../src/libmpg123) to use in MSVC++ projects that link to libmpg123.
Packit c32a2d
  - MSVC++/YYYY contain project files for building and using libmpg123 with
Packit c32a2d
    the corresponding versions of Microsoft Visual C++.
Packit c32a2d
    To use it add the project to your solution. Then add a reference to
Packit c32a2d
    libmpg123 from the project that wants to use it.
Packit c32a2d
    Also add ports/MSVC++ and src/libmpg123 to the include path. 
Packit c32a2d
	If you want to use the asm build you will need yasm (http://www.tortall.net/projects/yasm/). 
Packit c32a2d
	Please put yasm.exe into a directory where MSVC++ can find it. Finally
Packit c32a2d
        switch the libmpg123 project to the 
Packit c32a2d
	Release_MMX_Dll (outdated! There should be Realease_X86_Dll or similar by now)
Packit c32a2d
        build using the Visual Studio Configuration Manager.
Packit c32a2d
  - Xcode contains the project file for building and using libmpg123 with
Packit c32a2d
    Xcode for Mac and iOS (arm and simulator builds). Please add the
Packit c32a2d
	ports/Xcode folder to the header search path of your project so that 
Packit c32a2d
	Xcode can find the right mpg123.h and config.h. Then drag the mpg123
Packit c32a2d
	Xcode project into your own project. Finally in your build target, build
Packit c32a2d
	phases, add mpg123-ios or mpg123-mac to the libraries to link.