OSDN Git Service

timidity41/timidity41.git
10 years agoFix Windows Driver
yta [Thu, 14 Aug 2014 22:28:50 +0000 (07:28 +0900)]
Fix Windows Driver

Add DriverCallback API.  The driver must call the DriverCallback API.
After changing, some MIDI sequencers will not freeze: XGWorks, Domino,
etc.

Signed-off-by: yta <yta@inter7.jp>
10 years agoFix ssize_t type test and conditional compilation
TAMUKI Shoichi [Mon, 9 Jun 2014 00:02:17 +0000 (09:02 +0900)]
Fix ssize_t type test and conditional compilation

Fix ssize_t type test because older versions of autoconf do not
support AC_TYPE_SSIZE_T macro.  Also, fix conditional compilation for
older versions of MinGW.

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
10 years agoRevert some fix and add ssize_t type test.
SATO Kentaro [Sat, 24 May 2014 11:33:42 +0000 (20:33 +0900)]
Revert some fix and add ssize_t type test.

10 years agoMinor fixes for conditional compile.
SATO Kentaro [Sat, 24 May 2014 11:00:20 +0000 (20:00 +0900)]
Minor fixes for conditional compile.

10 years agoFix HTTPproxy not working on http URL.
SATO Kentaro [Tue, 21 Jun 2011 09:53:27 +0000 (18:53 +0900)]
Fix HTTPproxy not working on http URL.

10 years agoFix crash on sample size change while running.
SATO Kentaro [Sat, 19 Dec 2009 12:58:56 +0000 (21:58 +0900)]
Fix crash on sample size change while running.

10 years agoChange Windows GUI volume slider max.
SATO Kentaro [Sat, 7 May 2011 09:41:44 +0000 (18:41 +0900)]
Change Windows GUI volume slider max.

Volume control of W32GUI interface currently changes
rendering amplification, not playback volume.

10 years agoFix some compilation issues on Windows.
SATO Kentaro [Sat, 7 May 2011 09:41:00 +0000 (18:41 +0900)]
Fix some compilation issues on Windows.

10 years agoUpdate version number in Windows resource.
SATO Kentaro [Thu, 22 May 2014 09:07:41 +0000 (18:07 +0900)]
Update version number in Windows resource.

10 years agoFix tk interface compile with tk8.6
Yair K [Mon, 12 May 2014 21:32:04 +0000 (00:32 +0300)]
Fix tk interface compile with tk8.6

Direct access to interp->result is disallowed in 8.6, so use Tcl_GetStringResult instead. Also increase MAX_TK_MIDI_CHANNELS to fix compile warning.

10 years agoFix ao options crash
Yair K [Mon, 12 May 2014 21:30:13 +0000 (00:30 +0300)]
Fix ao options crash

Initialize ao_options to NULL, so as to avoid crash when no options are specified.

10 years agoPrefix ./ to escape_sjis.pl in Makefile to execute the script
TAMUKI Shoichi [Thu, 12 Dec 2013 02:04:52 +0000 (11:04 +0900)]
Prefix ./ to escape_sjis.pl in Makefile to execute the script

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
10 years agoGleaning various fixes
TAMUKI Shoichi [Wed, 6 Nov 2013 02:43:24 +0000 (11:43 +0900)]
Gleaning various fixes

- Fix vwprintw to fit with newer PDCurses
- Fix control_mode_event args to use ptr_size_t
- Fix read_config_file to be used in another main
- Fix around MIDIOUTCAPS2 in windrv/timiditydrv.c

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
10 years agoRefactor w32_a.c and disable the debug messages
Yale Zhang [Mon, 4 Nov 2013 06:20:57 +0000 (15:20 +0900)]
Refactor w32_a.c and disable the debug messages

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
10 years agoWindows MIDI driver improved
Yale Zhang [Mon, 4 Nov 2013 06:17:55 +0000 (15:17 +0900)]
Windows MIDI driver improved

- Stop sending all MIDI messages to a worker thread to be played.
  Instead, call the event handler directly (with mutual exclusion).
  This simplifies the code and reduces latency.
- Move initialization before worker thread creation - without this,
  TiMidity++ might not be initialized before the 1st message arrives
  (I actually had this problems when using VMPK, which sends a bank &
  program change message immediately on startup)

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
10 years agoFix to fit with MinGW environment
TAMUKI Shoichi [Sun, 3 Nov 2013 10:55:02 +0000 (19:55 +0900)]
Fix to fit with MinGW environment

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
11 years agoAllow setting ao backend options via environment
Yair K [Sat, 20 Oct 2012 18:31:46 +0000 (20:31 +0200)]
Allow setting ao backend options via environment

Let libao backend set ao options via TIMIDITY_AO_OPTIONS environment variable.
The variable accepts "key=value" pairs seperated by commans.
For example:
        TIMIDITY_AO_OPTIONS="use_mmap=1,id=1" for ALSA ao backend.
        TIMIDITY_AO_OPTIONS="server=example.com:4713"
etc.

Notes:
        1. Later options have precendance over earlier ones in libao.
        2. Spaces are not trimmed, but supplied as is.
        3. In case of "key=,", an empty string is passed to ao as value.

11 years agoSigned-off-by: Yair K <cesium2@gmail.com>
Kyle Guinn [Sat, 20 Oct 2012 12:01:08 +0000 (14:01 +0200)]
Signed-off-by: Yair K <cesium2@gmail.com>
Fix typo on timidity.cfg.5.

Fix typo on timidity.cfg.5. Patch sent by Kyle Guinn.

11 years agoRemove tclIndex due to autogenerated file
TAMUKI Shoichi [Wed, 5 Sep 2012 03:26:22 +0000 (12:26 +0900)]
Remove tclIndex due to autogenerated file

auto_mkindex will now run with tclsh instead of wish.

11 years agoMove ChangeLog to ChangeLog.3
TAMUKI Shoichi [Wed, 5 Sep 2012 03:19:43 +0000 (12:19 +0900)]
Move ChangeLog to ChangeLog.3

Remove ChangeLog, it will be generated from git log.

12 years agoXaw interface: minor improvements
Yair K [Mon, 20 Aug 2012 07:33:56 +0000 (09:33 +0200)]
Xaw interface: minor improvements

* Get rid of unnecessary argument to expandDir
* Free memory returned from XawListShowCurrent
* Remove outdated comment from TODO

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoInclude xbm bitmaps in the tcl interface itself
Yair K [Mon, 20 Aug 2012 07:32:05 +0000 (09:32 +0200)]
Include xbm bitmaps in the tcl interface itself

Include xbm bitmaps in the tcl interface itself rather than as files in the
system.

Also, include tcl.h a bit later to avoid a redefine warning on reverb.h.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoAlways use local OSSv3's midi sequencer definitions
Hans de Goede [Mon, 20 Aug 2012 07:28:51 +0000 (09:28 +0200)]
Always use local OSSv3's midi sequencer definitions

From NetBSD pkgsrc: http://www.netbsd.org/docs/software/packages.html

Both the midi output mode and the server interface try to collect some
local MIDI macro definitions instead of using its own. Problem is some
systems have a 'compatibility' soundcard.h file which is detected by
configure but doesn't have the MIDI defines (e.g. NetBSD's libossaudio).
So always use the internal defines.

Add a comment to server_defs.h to show how to still get the defines from
the system if desired.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoBring in some fixes from mikmod.hg.sf.net
Yair K [Mon, 20 Aug 2012 07:25:30 +0000 (09:25 +0200)]
Bring in some fixes from mikmod.hg.sf.net

Bring in some fixes from mikmod.hg.sf.net for CVE-2009-0179, CVE-2009-3996,
CVE-2010-2546 and CVE-2010-2971. Also, staticize most functions as in that
version. Could perhaps use a bit more testing.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoRevert for required ctl_speana_data function
Hans de Goede [Mon, 20 Aug 2012 07:22:42 +0000 (09:22 +0200)]
Revert for required ctl_speana_data function

From gentoo timidity++-2.14.0 packages:

This will revert part of the commit from:

http://timidity.git.sourceforge.net/git/gitweb.cgi?p=timidity/timidity;a=commit;h=e73b53437dbc1e57e61dd4d0c1407784797b08d9

Because otherwise TiMidity++ simply won't build as per:

../interface/libinterface.a(xskin_c.o): In function `ctl_event':
xskin_c.c:(.text+0x17c): undefined reference to `ctl_speana_data'
collect2: error: ld returned 1 exit status

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoSync with CVS
Hans de Goede [Thu, 5 Jul 2012 14:09:45 +0000 (16:09 +0200)]
Sync with CVS

Bring in the ChangeLog, NEWS and configure.in updates from the 2.14.0 release.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoXaw: Fix a possible crash
Yair K [Thu, 5 Jul 2012 14:07:15 +0000 (16:07 +0200)]
Xaw: Fix a possible crash

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoXaw: Correctly cut off text in the trace'sinstrument name column correctly
Yair K [Thu, 5 Jul 2012 14:05:21 +0000 (16:05 +0200)]
Xaw: Correctly cut off text in the trace'sinstrument name column correctly

The attached diff makes the trace cut off text in the instrument name column
correctly in the Xft case.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoXaw: Make a double-click open/save a file in the dialogs
Yair K [Thu, 5 Jul 2012 14:04:03 +0000 (16:04 +0200)]
Xaw: Make a double-click open/save a file in the dialogs

Also remove some useless casts, and a no longer necessary action
(do-popdown()).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoContinue the dynamic interface loading loop if dl_load_file fails
Yair K [Thu, 5 Jul 2012 14:01:51 +0000 (16:01 +0200)]
Continue the dynamic interface loading loop if dl_load_file fails

Earlier, it simply returned NULL in that case, which meant that if an dlopen
failed at an dynamic interface loaded before arriving at the desired
interface (say, because of missing dependencies or bad symlink) one couldn't
load said desired (dynamically-linked) interface at all.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoVarious fixes
Yair K [Mon, 11 Jun 2012 20:04:17 +0000 (22:04 +0200)]
Various fixes

-make the play button activate when autostarting a saved list and when saving
 a file (two chunks).
- add a few consts (not needed by most compilers)
- add some keysyms of the numeric keyboard to the resource files

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoxaw interface: various fixes
Yair K [Mon, 11 Jun 2012 14:30:51 +0000 (16:30 +0200)]
xaw interface: various fixes

-There was an off-by-one in the ARGB converter.
-Make sure the pause button can't be set when not playing
-and visa versa for the play button
-leak less memory

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoxaw: Setup _NET_WM_ICON correctly
Yair K [Sat, 2 Jun 2012 08:39:55 +0000 (10:39 +0200)]
xaw: Setup _NET_WM_ICON correctly

Having upgraded to a new KDE version, I noticed the task switcher didn't
display timidity's thumbnail. Apparently it doesn't acknowledge the
WM_HINTS bitmap.

So the attached diff includes a trivial converter (1bit bitmap->ARGB) to set
up _NET_WM_ICON correctly. It uses the simple timidity.xbm icon (I also had a
version using the color icon from pixmap/timidity.xpm but I prefer this icon -
I could add that as an option).

The diff also includes some #include rationalization and resource renaming
("noPlaying" had a different spelling in .ad files vs the code).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoSync ChangeLog with CVS
Hans de Goede [Fri, 1 Jun 2012 15:45:10 +0000 (17:45 +0200)]
Sync ChangeLog with CVS

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoUse AS_HELP_STRING to make the --help output more readable
Takashi Iwai [Wed, 30 May 2012 13:22:41 +0000 (15:22 +0200)]
Use AS_HELP_STRING to make the --help output more readable

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoFix type-punning in smplfile.c
Takashi Iwai [Wed, 30 May 2012 13:22:40 +0000 (15:22 +0200)]
Fix type-punning in smplfile.c

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoFix the missing return value in emacs_c.c
Takashi Iwai [Wed, 30 May 2012 13:22:39 +0000 (15:22 +0200)]
Fix the missing return value in emacs_c.c

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoAdd the lzma decompression support
Takashi Iwai [Wed, 30 May 2012 13:22:38 +0000 (15:22 +0200)]
Add the lzma decompression support

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoAdd missing quotes in autoconf/utils.m4
Takashi Iwai [Wed, 30 May 2012 13:22:37 +0000 (15:22 +0200)]
Add missing quotes in autoconf/utils.m4

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoAdd missing void argument for function declarations
Takashi Iwai [Wed, 30 May 2012 13:22:36 +0000 (15:22 +0200)]
Add missing void argument for function declarations

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoFix the faulty check of parameters in server_c.c:control_getcmd()
Takashi Iwai [Wed, 30 May 2012 13:22:35 +0000 (15:22 +0200)]
Fix the faulty check of parameters in server_c.c:control_getcmd()

The check of the array size in server_c.c:control_getcmd() is wrong
as the nparmas is incremeted after the check with MAX_GETCMD_PARAMS.
Also, there are other bugs that *nparams isn't initialized when the
first token is NULL, etc.  Overall, the code is unnecessarily tricky.

This patch simplifies the code and fixes the array size check.

Bugzila: https://bugzilla.novell.com/show_bug.cgi?id=517719
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoFix possible invalid access below the array range
Takashi Iwai [Wed, 30 May 2012 13:22:33 +0000 (15:22 +0200)]
Fix possible invalid access below the array range

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoCorrectly apply CurVol setting in ~/.xtimidity
Yair K [Tue, 29 May 2012 08:52:51 +0000 (10:52 +0200)]
Correctly apply CurVol setting in ~/.xtimidity

Make the player correctly apply CurVol setting in ~/.xtimidity (timidity
ignores RC_CHANGE_VOLUME when not playing, so do it more directly) (all
issues except the first existed in the original 2.13.2 interface).

Also fix:
-Make the check mark disappear also the first time trace is unhidden
-Do not allow the playbutton to activate when no files are loaded

This should do for 2.14.0.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoRevert old spectogram workaround
Yair K [Tue, 29 May 2012 08:51:18 +0000 (10:51 +0200)]
Revert old spectogram workaround

An old change of mine to miditrace.c was made to allow the spectrogram
(usually attached to 'g' key) to work in trace mode (can't remember if
the problem was in the xaw interface alone or not). Apparently, this
caused problems on the mac interface which led to the ifdef next door
(didn't notice this at the time). Now, local testing shows it's no
longer necessary on unix. So I suggest reverting it for simpler code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoMake mute show
Yair K [Tue, 29 May 2012 08:48:58 +0000 (10:48 +0200)]
Make mute show

Unmuting a channel (right click) didn't show immediatlely due to an off by one
in the snprintf in drawMute. Also another off by one in xdnd.c and some
comment and style changes.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoXaw: unbreak xdnd
Yair K [Tue, 22 May 2012 12:56:24 +0000 (14:56 +0200)]
Xaw: unbreak xdnd

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoFix compiler warnings from clang
Yair K [Fri, 18 May 2012 09:17:08 +0000 (11:17 +0200)]
Fix compiler warnings from clang

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoconfigure: Fix building with X11 based userinterfaces builtin
Hans de Goede [Fri, 18 May 2012 09:13:37 +0000 (11:13 +0200)]
configure: Fix building with X11 based userinterfaces builtin

Reported-by: Yair K. <cesium2@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoImprove timidity default settings
Yair K [Fri, 18 May 2012 08:38:14 +0000 (10:38 +0200)]
Improve timidity default settings

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoxaw interface update
Yair K [Wed, 16 May 2012 15:31:04 +0000 (17:31 +0200)]
xaw interface update

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoxaw-interface: Fix crash when MAX_CHANNELS > 32
Yair K [Wed, 16 May 2012 15:22:23 +0000 (17:22 +0200)]
xaw-interface: Fix crash when MAX_CHANNELS > 32

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoAdd a trysource config file directive
Hans de Goede [Wed, 16 May 2012 14:45:22 +0000 (16:45 +0200)]
Add a trysource config file directive

Add a "trysource" config file directive, which allows to try and source
other config files, while continuing without error if the specified file
is missing.

Also cleanup the user config loading code using this new functionality.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoconfigure: Fix building of dynamic user interfaces
Hans de Goede [Wed, 16 May 2012 16:11:14 +0000 (18:11 +0200)]
configure: Fix building of dynamic user interfaces

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
12 years agoUpdate Makefile.am for autogen.sh
Shoichi Tamuki [Thu, 29 Dec 2011 23:20:29 +0000 (23:20 +0000)]
Update Makefile.am for autogen.sh

12 years agoAdd autogen.sh
Shoichi Tamuki [Thu, 29 Dec 2011 23:04:52 +0000 (23:04 +0000)]
Add autogen.sh

12 years agoRemove due to autogenerated file
Shoichi Tamuki [Thu, 29 Dec 2011 22:14:19 +0000 (22:14 +0000)]
Remove due to autogenerated file

12 years agoFix to fit with libpng 1.5 and newer
Shoichi Tamuki [Thu, 22 Dec 2011 12:47:55 +0000 (12:47 +0000)]
Fix to fit with libpng 1.5 and newer

12 years ago[PATCH 18/18] configure: Don't add -lX11 to the generic LIBS
Shoichi Tamuki [Thu, 22 Dec 2011 12:45:11 +0000 (12:45 +0000)]
[PATCH 18/18] configure: Don't add -lX11 to the generic LIBS

This stops timidity itself from depending on libX11 even when build
without any interfaces builtin which need libX11.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 configure.in |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

12 years agoRemove all the autogenerated files
Shoichi Tamuki [Sun, 18 Dec 2011 02:09:05 +0000 (02:09 +0000)]
Remove all the autogenerated files

12 years ago(Revised) Disable ALSA sequencer interface polling, when it's not needed
Shoichi Tamuki [Thu, 8 Dec 2011 14:18:48 +0000 (14:18 +0000)]
(Revised) Disable ALSA sequencer interface polling, when it's not needed

12 years agoRevert disable ALSA sequencer interface polling, when it's not needed
Shoichi Tamuki [Thu, 8 Dec 2011 09:02:18 +0000 (09:02 +0000)]
Revert disable ALSA sequencer interface polling, when it's not needed

12 years agoRevert Change sustained notes not to drop when opt_overlap_voice_allow is enabled
Shoichi Tamuki [Wed, 7 Dec 2011 13:26:06 +0000 (13:26 +0000)]
Revert Change sustained notes not to drop when opt_overlap_voice_allow is enabled

12 years agoIn the case of --enable-dynamic=emacs,alsaseq, make install timidity.el
Shoichi Tamuki [Tue, 6 Dec 2011 11:30:14 +0000 (11:30 +0000)]
In the case of --enable-dynamic=emacs,alsaseq, make install timidity.el
and enable the long option of ALSA sequencer interface, respectively

12 years agoSet the absolute path of timidity in timidity.el automatically
Shoichi Tamuki [Tue, 6 Dec 2011 11:23:40 +0000 (11:23 +0000)]
Set the absolute path of timidity in timidity.el automatically

12 years ago[PATCH 11/17] Make shebang paths /usr/bin/foo rather then /usr/local/bin/foo
Shoichi Tamuki [Mon, 5 Dec 2011 12:52:27 +0000 (12:52 +0000)]
[PATCH 11/17] Make shebang paths /usr/bin/foo rather then /usr/local/bin/foo

This makes life easier for packagers, people who want to use non standard
paths will need to fix this up themselves...

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 interface/tkmidity.ptcl |    2 +-
 interface/tkpanel.tcl   |    2 +-
 script/dllutl.rb        |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

12 years agoSupport for Tcl/Tk 8.5 and autoreconf
Shoichi Tamuki [Sat, 3 Dec 2011 21:35:15 +0000 (21:35 +0000)]
Support for Tcl/Tk 8.5 and autoreconf

12 years agoFix ChangeLog
Shoichi Tamuki [Sat, 3 Dec 2011 16:19:17 +0000 (16:19 +0000)]
Fix ChangeLog

12 years ago[PATCH 17/17] Fix listing of dynamic interfaces in --help output
Shoichi Tamuki [Sat, 3 Dec 2011 16:01:33 +0000 (16:01 +0000)]
[PATCH 17/17] Fix listing of dynamic interfaces in --help output

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 timidity/timidity.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

12 years ago[PATCH 16/17] Silence dlsym errors
Shoichi Tamuki [Sat, 3 Dec 2011 16:00:04 +0000 (16:00 +0000)]
[PATCH 16/17] Silence dlsym errors

The way the new dynamic_interface_module() function probes for dynamic
interfaces cause it to always hit a few dlsym errors as soon as you have
more then one dynamic interface, so silence these errors.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 timidity/dl_dlopen.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

12 years ago[PATCH 15/17] Get rid of the dynamic_control_mode ControlMode
Shoichi Tamuki [Sat, 3 Dec 2011 15:58:16 +0000 (15:58 +0000)]
[PATCH 15/17] Get rid of the dynamic_control_mode ControlMode

This is a left over from before the dynamic_interface_module() rewrite,
not only is it no longer needed its code is plain wrong, as it still
contains a prototype for the old way different dynamic_interface_module()
and tries to call it as if it were the old version, if that code path where
to ever be invoked bad things (tm) would happen. Luckily it is never used,
so simply nuke it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 interface/Makefile.am |    6 --
 interface/dynamic_c.c |  130 -------------------------------------------------
 timidity/controls.c   |   10 ----
 timidity/timidity.c   |   31 +++---------
 4 files changed, 7 insertions(+), 170 deletions(-)
 delete mode 100644 interface/dynamic_c.c

12 years ago[PATCH 14/17] Silence autofoo warnings about have_speex ac cache identifier
Shoichi Tamuki [Sat, 3 Dec 2011 15:52:13 +0000 (15:52 +0000)]
[PATCH 14/17] Silence autofoo warnings about have_speex ac cache identifier

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

12 years ago[PATCH 10/17] Fix / silence various compiler warnings
Shoichi Tamuki [Sat, 3 Dec 2011 15:49:20 +0000 (15:49 +0000)]
[PATCH 10/17] Fix / silence various compiler warnings

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 interface/gtk_i.c    |   39 +++---
 interface/server_c.c |   12 +-
 interface/tk_c.c     |    7 +-
 interface/wrdt_tty.c |    4 +-
 interface/x_sherry.c |    4 +-
 interface/xaw_c.c    |   29 +++--
 interface/xaw_i.c    |   32 +++---
 interface/xskin_c.c  |   14 ++-
 libarc/unlzh.c       |    1 +
 libunimod/load_far.c |    4 +-
 libunimod/load_it.c  |    6 +-
 libunimod/mloader.c  |    4 +-
 libunimod/mlutil.c   |    4 +-
 timidity/ao_a.c      |    3 +-
 timidity/calcnewt.c  |   10 +-
 timidity/common.c    |   13 ++-
 timidity/effect.c    |    1 -
 timidity/esd_a.c     |    2 +-
 timidity/freq.c      |   14 +--
 timidity/instrum.c   |    3 +-
 timidity/loadtab.c   |    2 +-
 timidity/m2m.c       |   44 ++++----
 timidity/miditrace.c |    3 +-
 timidity/output.c    |    5 +-
 timidity/playmidi.c  |   19 ++--
 timidity/readmidi.c  |    5 +-
 timidity/recache.c   |    2 +-
 timidity/resample.c  |    2 +-
 timidity/reverb.c    |  336 +++++++++++++++++++++++++++++---------------------
 timidity/smplfile.c  |   10 +-
 timidity/speex_a.c   |    7 +-
 timidity/timidity.c  |   42 ++++---
 utils/net.c          |    2 +-
 utils/nkflib.c       |   18 ++-
 34 files changed, 391 insertions(+), 312 deletions(-)

12 years ago[PATCH 9/9] sndfont: Work around soundfonts with missing links between stereo samples
Shoichi Tamuki [Sat, 3 Dec 2011 15:46:28 +0000 (15:46 +0000)]
[PATCH 9/9] sndfont: Work around soundfonts with missing links between stereo samples

Some sf2 files have all their link ids between stereo samples set to 0,
this patch works around that, atleast for files which have 2 matching
the matched left + right samples directly after each other in the
instruments layers list.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 timidity/sndfont.c |   57 ++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 53 insertions(+), 4 deletions(-)

12 years ago[PATCH 8/9] Fix a bunch of: warning: implicit declaration of function ... warnings
Shoichi Tamuki [Sat, 3 Dec 2011 15:44:52 +0000 (15:44 +0000)]
[PATCH 8/9] Fix a bunch of: warning: implicit declaration of function ... warnings

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 timidity/controls.c |    5 +++++
 timidity/effect.c   |    2 ++
 timidity/oss_a.c    |    1 +
 timidity/playmidi.h |    1 +
 timidity/speex_a.c  |   10 ++++++++++
 timidity/wrd.h      |    2 ++
 6 files changed, 21 insertions(+), 0 deletions(-)

12 years ago[PATCH 7/9] flac_a: Fix compiling with recent flac versions
Shoichi Tamuki [Sat, 3 Dec 2011 15:43:17 +0000 (15:43 +0000)]
[PATCH 7/9] flac_a: Fix compiling with recent flac versions

The LEGACY_FLAC test was only succeeding on windows since the
FLAC/export.h was inside a windows #ifdef block.

While at it also fix various compiler warnings, including atleast
2 real bugs:
1) The missing include for common.h meant the safe_malloc prototype was
   missing, making the compiler assume it returns an int -> fail on
   64 bits
2) The | with FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA in the
   error handling test was missing () and it is the wrong thing to do
   in general since this is an enum not a flags field.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 timidity/flac_a.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

12 years ago[PATCH 6/9] Fork earlier when we're going to run deamonized in ALSA sequencer mode
Shoichi Tamuki [Sat, 3 Dec 2011 15:40:24 +0000 (15:40 +0000)]
[PATCH 6/9] Fork earlier when we're going to run deamonized in ALSA sequencer mode

If we're going to fork for daemon mode, we need to fork earlier, as
certain output libraries (pulseaudio) become unhappy if initialized
before forking and then being used from the child.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 interface/alsaseq_c.c |   17 -----------------
 timidity/timidity.c   |   23 +++++++++++++++++++++++
 2 files changed, 23 insertions(+), 17 deletions(-)

12 years ago[PATCH 4/9] Various man page fixes
Shoichi Tamuki [Sat, 3 Dec 2011 15:37:55 +0000 (15:37 +0000)]
[PATCH 4/9] Various man page fixes

courtesy of Debian
---
 doc/C/timidity.1     |    8 ++++----
 doc/C/timidity.cfg.5 |   10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

12 years ago[PATCH 3/9] Change audio output detection order
Shoichi Tamuki [Sat, 3 Dec 2011 15:35:48 +0000 (15:35 +0000)]
[PATCH 3/9] Change audio output detection order

First try the various desktop daemons we support, and only when those
are not available use the systems native sound system. Also try ALSA before
the native sound system, since the native sound system on Linux is set to
OSS, and ALSA definitely is preferable over OSS.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 timidity/output.c |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

12 years ago[PATCH 2/9] libao: Add a detect() function
Shoichi Tamuki [Sat, 3 Dec 2011 15:33:48 +0000 (15:33 +0000)]
[PATCH 2/9] libao: Add a detect() function

Most Linux distros use pulseaudio by now, and libao is the best way to use
pulseaudio from timidity. This patch adds a detect function to libao, which
will make libao autodetect succeed only when pulse is available, so that
we can prefer libao in the probe order to get pulse, without also getting
libao on systems where we should be using alsa directly.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 timidity/ao_a.c |   31 ++++++++++++++++++++++++++++++-
 1 files changed, 30 insertions(+), 1 deletions(-)

12 years ago[PATCH 1/9] esd_a: Don't start ESD
Shoichi Tamuki [Sat, 3 Dec 2011 15:31:52 +0000 (15:31 +0000)]
[PATCH 1/9] esd_a: Don't start ESD

Don't start ESD if it is not running yet, esp. not from detect() !

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 timidity/esd_a.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

13 years ago* Fix a bug created at the previous commit that prevents alternate instruments from...
Kentaro Sato [Sun, 19 Sep 2010 09:42:57 +0000 (09:42 +0000)]
* Fix a bug created at the previous commit that prevents alternate instruments from loading occasionally.
* Fix a bug that ignores user drum source instrument when "soundfont" directive is used.
* Fix a bug that ignores non-standard drumsets when a soundfont is specified with "soundfont" directive and the instrument is loaded as needed.
* Fix potential uninitialized pointers access.
* Add access keys to some of twsyng menuitems.

13 years agoFix a bug that ignores non-standard drumsets when a soundfont is specified with ...
Kentaro Sato [Sun, 12 Sep 2010 09:16:46 +0000 (09:16 +0000)]
Fix a bug that ignores non-standard drumsets when a soundfont is specified with "soundfont" directive.

13 years agoFix an error message for the bad floating point values.
Kentaro Sato [Sun, 12 Sep 2010 09:15:37 +0000 (09:15 +0000)]
Fix an error message for the bad floating point values.

13 years agoQuick fix for Microsoft Security Advisory 2269637. (Windows executable)
Kentaro Sato [Sat, 28 Aug 2010 14:12:30 +0000 (14:12 +0000)]
Quick fix for Microsoft Security Advisory 2269637. (Windows executable)

14 years agoCorrect sf2 broken loop point to avoid infinite loop on resampling.
Kentaro Sato [Sat, 10 Jul 2010 01:49:19 +0000 (01:49 +0000)]
Correct sf2 broken loop point to avoid infinite loop on resampling.

14 years agoFix insertion effect Lo-Fi making loud noise.
Kentaro Sato [Sat, 5 Jun 2010 10:00:48 +0000 (10:00 +0000)]
Fix insertion effect Lo-Fi making loud noise.
Workaround for Moog VCF making loud noise.
Remove obsolete filter frequency cap.

14 years agoRemove obsolete filter frequency cap.
Kentaro Sato [Sat, 5 Jun 2010 09:58:48 +0000 (09:58 +0000)]
Remove obsolete filter frequency cap.

14 years agoWorkaround for Moog VCF making loud noise.
Kentaro Sato [Sat, 5 Jun 2010 09:55:52 +0000 (09:55 +0000)]
Workaround for Moog VCF making loud noise.

14 years agoFix insertion effect Lo-Fi making loud noise.
Kentaro Sato [Sat, 5 Jun 2010 09:54:55 +0000 (09:54 +0000)]
Fix insertion effect Lo-Fi making loud noise.

14 years agoFix infinite loop on reusing soundfont struct.
Kentaro Sato [Sun, 23 May 2010 08:32:43 +0000 (08:32 +0000)]
Fix infinite loop on reusing soundfont struct.

14 years agoFix ch_3tap_delay crash.
Kentaro Sato [Sat, 22 May 2010 15:10:28 +0000 (15:10 +0000)]
Fix ch_3tap_delay crash.

14 years agochanged file name was wrong; playmidi.c => readmidi.c
Kentaro Sato [Mon, 17 May 2010 12:18:31 +0000 (12:18 +0000)]
changed file name was wrong; playmidi.c => readmidi.c

14 years agoFix existing anti-popping minimum volume ramps for expression, volume, pans, etc...
Kentaro Sato [Mon, 17 May 2010 12:16:25 +0000 (12:16 +0000)]
Fix existing anti-popping minimum volume ramps for expression, volume, pans, etc.. Extend anti-popping minimum volume ramps to envelope amp changes.

14 years agoAllow Device Numbers other than 0x10 for XG SYSTEM ON SYSEX events
Kentaro Sato [Mon, 17 May 2010 12:15:59 +0000 (12:15 +0000)]
Allow Device Numbers other than 0x10 for XG SYSTEM ON SYSEX events

14 years agoplaymidi.c: Allow Device Numbers other than 0x10 for XG SYSTEM ON SYSEX events
Kentaro Sato [Mon, 17 May 2010 12:14:37 +0000 (12:14 +0000)]
playmidi.c: Allow Device Numbers other than 0x10 for XG SYSTEM ON SYSEX events
mix.c: Fix existing anti-popping minimum volume ramps for expression, volume, pans, etc.. Extend anti-popping minimum volume ramps to envelope amp changes.

14 years agotimidity/sun_a.c (acntl): Fix for message PM_REQ_GETQSIZ, PM_REQ_GETFRAGSIZ.
Kentaro Sato [Wed, 23 Dec 2009 11:57:03 +0000 (11:57 +0000)]
timidity/sun_a.c (acntl): Fix for message PM_REQ_GETQSIZ, PM_REQ_GETFRAGSIZ.

14 years agoChangelog was incomplete again. sorry
Kentaro Sato [Sat, 19 Dec 2009 03:48:32 +0000 (03:48 +0000)]
Changelog was incomplete again. sorry

14 years agotimidity/readmidi.c: Fixed crash when loading long music.
Kentaro Sato [Sat, 19 Dec 2009 03:39:08 +0000 (03:39 +0000)]
timidity/readmidi.c: Fixed crash when loading long music.
timidity/timidity.c: Fixed corruption of the default device encoding on some occasion.
timidity/w32_a.c: Fixed Windows audio driver 24-bit output.
interface/w32g_syn.c: Better tray icon removal.

14 years agoFixed Windows audio driver 24-bit output.
Kentaro Sato [Sat, 19 Dec 2009 03:37:10 +0000 (03:37 +0000)]
Fixed Windows audio driver 24-bit output.

14 years agoFixed corruption of the default device encoding on some occasion.
Kentaro Sato [Sat, 19 Dec 2009 03:35:07 +0000 (03:35 +0000)]
Fixed corruption of the default device encoding on some occasion.