Merge branch 'master' of ssh://git.code.sf.net/p/xmp/libxmp into memory_io

Conflicts:
	Makefile.in
	include/xmp.h
	libxmp.pc.in
	src/loaders/okt_load.c

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Merge branch 'master' into memory_io

Resolve conflicts:

CONFLICT (content): Merge conflict in src/loaders/okt_load.c
CONFLICT (content): Merge conflict in libxmp.pc.in
CONFLICT (content): Merge conflict in include/xmp.h
CONFLICT (content): Merge conflict in Makefile.in

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Refactor ThePlayer common code

Extract pattern decoding to a separate function. This move aims to
modularize the loader to plug the pattern decoding algorithms used in
versions 4.0 and 6.1.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[examples] Add OpenAL replayer example

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[examples] Change examples to use system libxmp

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Change version detection in ThePlayer decoder

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Honor Noisetracker events

If the module is identified as Noisetracker, honor only Noisetracker events.
See http://www.livet.se/mahoney/:

Mahoney_complete_mod-collection_14thOct2006.zip

Note that some of the modules will have bugs in the playback with all known
PC module players. This is due to that in many demos where I synced events
in the demo with the music, I used commands that these newer PC module
players erroneously interpret as "newer-version-trackers commands". Which
they aren't.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add initial His Master's Noise support

Start loader for modules in His Master's Noise musicdisk format, see
http://pouet.net/prod.php?which=8070

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[test] Update number of formats

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Adjust His Master's Noise instrument finetune

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add extra comments on His Master's Noise format

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Load His Master's Noisetracker wavetable samples

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Code cleanup: remove unused lines

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add support for His Master's Noise synth

Generalize instrument extras support to support both MED and HMNT synth
sounds. Add HMNT synth to sequence waveforms according to what's defined
in the waveform sequence table. Rename fest_load to hmnt_load to be
consistent with hmnt_synth.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add missing hmnt_extras.h header file

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add HMNT volume support

Read HMNT synth instrument volume tables. Also refactor MED and HMNT synth
support.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add OpenAL example using xmp_play_buffer

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Rename hmnt symbols to hmn for consistency

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add His Master's Noise MegaArps effect parser

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Rename med and hmn synth to extras

Change name of extra handlers from synth to extra to avoid ambiguity with
Adlib and Spectrum synths, which use a totally different structure.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>