Ozkan Sezer
06e39db305
sanitize whitespace.
5 years ago
Cameron Cawley
8752414fa8
Replace direct use of usleep()
5 years ago
Ozkan Sezer
4161197698
miscellaneous watcom build updates.
5 years ago
Ozkan Sezer
10f076e6a5
miscellaneous dos/djgpp fixes.
5 years ago
AliceLR
d741e61abd
Replace list.h undefined behavior with offsetof.
5 years ago
AliceLR
ef9e800b1e
Silence annoying GCC 11 warnings.
5 years ago
Ozkan Sezer
f4e66550d2
read_config.c: define SYSCONFDIR as ".", if not already defined.
...
Just to be safe. (and would help with cases where one might use
standalone makefiles and not autotools.)
5 years ago
Ozkan Sezer
dd42858718
fix xmp-cli not respecting system xmp.conf.
...
src/Makefile.am defined SYSCONFDIR as ${sysconfdir}, but installed
xmp.conf under ${sysconfdir}//${PACKAGE_NAME}. therefore, changing
the SYSCONFDIR define to reflect reality.
Patch from RedHat rpm repositories. Original bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1365321
Closes: https://github.com/libxmp/xmp-cli/issues/27
5 years ago
Ozkan Sezer
7c8fa1a370
replaced 'WIN32' checks with '_WIN32'
5 years ago
Ozkan Sezer
347962bb6d
getopt update:
...
replace outdated getopt.c, getopt.h and getopt1.c with 2-clause BSD
licensed getopt source from OpenBSD, build them only if system libc
does not have getopt_long().
5 years ago
Ozkan Sezer
85df56159f
add --with-libxmp-lite to build against libxmp-lite instead of libxmp.
5 years ago
Claudio Matsuoka
88a004ef4f
Remove sequence change workaround for old libxmp
...
A workaround for sequence changes when using libxmp 4.0.4 or older
was causing memory access violations. Since we currently require
libxmp 4.4, we can safely drop this workaround.
Fixes #21
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
5 years ago
AliceLR
3bed00f3b3
Fix Windows crash-on-exit caused by freeing in-use buffers.
...
Adds a waveOutReset call before usage of waveOutUnprepareHeader.
This prevents the output buffers from being in use when they are
freed after calling waveOutUnprepareHeader.
5 years ago
Ozkan Sezer
e57c16a6eb
adjust after xmp_get_format_list() const return change in libxmp.
5 years ago
AliceLR
2c52755ce2
Add setvbuf(_IONBF) to fix terminal output for MSYS2.
5 years ago
Stephen Kitt
7ce4dd6b1e
Use apostrophes instead of acute accents
...
In groff, \' represents an acute accent, not an apostrophe. This
replaces these with straight apostrophes.
Signed-off-by: Stephen Kitt <steve@sk2.org>
5 years ago
Stephen Kitt
adaf08b0e5
Spelling fix ("ommited")
...
This was flagged by Lintian, Debian's QA tool.
Signed-off-by: Stephen Kitt <steve@sk2.org>
5 years ago
sezero
22aec8a747
sound_ahi.c: use MEMF_SHARED instead of MEMF_PUBLIC for OS4.
5 years ago
sezero
1bd65c8924
Revert "check for tcgetpgrp() presence before using."
...
This reverts commit c12d5be929 .
It shouldn't be needed after commit 870adc5
9 years ago
sezero
5e5ba53799
Replace the amiga ahi driver with a working one.
...
Based on a MikMod driver written by Szilard Biro, which was loosely
based on an old AmigaOS4 version by Fredrik Wikstrom.
9 years ago
sezero
3056bfd713
fix amiga terminal behavior (set stdin to raw mode)
9 years ago
sezero
8c9ace4606
fix OS4 build
9 years ago
sezero
870adc5975
don't check half-baked termios for amiga targets.
...
it blows up in the end. use the amiga code in commands.c, instead.
9 years ago
sezero
aae17a1f10
struct options, struct control: rename 'amiga' member to 'amiga_mixer'
...
because, 'amiga' may be defined as a macro by the compiler (e.g. OS4.)
9 years ago
sezero
b6f93421fe
sound.c: remove extern for non-existent sound_amiga
9 years ago
sezero
c12d5be929
check for tcgetpgrp() presence before using.
9 years ago
sezero
634babcadb
sound.c: add missing sound_ahi extern declaration.
9 years ago
sezero
31033bd2f1
fix broken semaphore usage in OS/2 DART driver. whitespace cleanups.
9 years ago
sezero
bc9f2d28fb
sound_dart.c: removed unused char *token;
...
was possibly a remnant from times when those
parm??? macros weren't introduced.
9 years ago
sezero
c9c2095479
src/sound.c: add os/2 dart driver registration, guarded by a SOUND_OS2DART ifdef
9 years ago
sezero
0959a93acb
src/sound_dart.c: make it to build. it is actually functional too.
9 years ago
sezero
6441eea079
src/read_config.c: update read_config() and read_modconf() for OS/2
9 years ago
sezero
c76c2d5eef
src/commands.c: use conio.h / kbhit() for OS/2 builds, as well.
9 years ago
sezero
6ea590909f
src/list.h: define __inline__ as inline for Watcom.
9 years ago
Claudio Matsuoka
c7c2be6681
Cosmetic fix
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
fd56e2eefd
Revert "Cosmetic change in paused message"
...
This reverts commit ae7019db76 .
10 years ago
Claudio Matsuoka
ae7019db76
Cosmetic change in paused message
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
848fc4db00
Change command line parameter name from classic to amiga
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
ae40fda525
Nah, 50% is better with headphones
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
a9266350c1
Set default mod pan to 60%
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
b5925daef5
Update configuration file info text
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
aa4c23cd0d
Update changelog and man page date
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
abd721629c
Keep classic mixer flags persistent between modules
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
f8670fc1af
Fix pan format in instrument info
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
13f170f6aa
Update documentation
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
e7eb6ef47a
Fix screen corruption with more than 255 virtual channels
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
8190b2790b
Add configuration file option to set number of mixer voices
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
d8d12c7210
Update standard mixer name
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
a5c583f54e
Update Amiga mixer name
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago
Claudio Matsuoka
b68df6082b
Update help message
...
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
10 years ago