timidity/CHANGES
author Sam Lantinga <slouken@libsdl.org>
Mon, 12 Nov 2018 16:54:24 -0800
changeset 925 5945988b4a41
parent 782 e7d3a8f73e88
permissions -rw-r--r--
Fixed bug 4371 - tvOS Simulator devices not listed

Caleb Cornett

In the Xcode-iOS project, when selecting the libSDL_mixer-tvOS target, no tvOS simulators appear in the available device dropdown.

This is easily fixed with the attached patch.
slouken@782
     1
This version of TiMidity should contain all the fixes from the
slouken@782
     2
September 25 2003 SDL_mixer CVS snapshot. In addition, I've made some
slouken@782
     3
changes of my own, e.g.:
slouken@782
     4
slouken@782
     5
* All file access is done through SDL_RWops. This means the MIDI
slouken@782
     6
  stream no longer has to be a file. (The config file and instruments
slouken@782
     7
  still have to be though.)
slouken@782
     8
slouken@782
     9
* Replacing of TiMidity's endian-handling with SDL's.
slouken@782
    10
slouken@782
    11
* Removal of much unused or unnecessary code, such as
slouken@782
    12
slouken@782
    13
  + The "hooks" for putting a user interface onto TiMidity.
slouken@782
    14
  + The antialias filter. It wasn't active, and even at 4 kHz I
slouken@782
    15
    couldn't hear any difference when activating it.
slouken@782
    16
  + Removed all traces of LOOKUP_HACK and LOOKUP_INTERPOLATION.
slouken@782
    17
    According to the code comments they weren't very good anyway.
slouken@782
    18
    ("degrades sound quality noticeably"). I also removed the
slouken@782
    19
    disclaimer about the "8-bit uLaw to 16-bit PCM and the 13-bit-PCM
slouken@782
    20
    to 8-bit uLaw tables" disclaimer, since I believe those were the
slouken@782
    21
    tables I removed.
slouken@782
    22
  + Removed LOOKUP_SINE since it was already commented out. I think we
slouken@782
    23
    can count on our target audience having math co-processors
slouken@782
    24
    nowadays.
slouken@782
    25
  + Removed USE_LDEXP since it wasn't being used and "it doesn't make
slouken@782
    26
    much of a difference either way".
slouken@782
    27
  + Removed decompress hack from open_file() since it didn't look very
slouken@782
    28
    portable.
slouken@782
    29
  + Removed heaps of unnecessary constants.
slouken@782
    30
  + Removed unused functions.
slouken@782
    31
  + Assume that LINEAR_INTERPOLATION is always used, so remove all
slouken@782
    32
    code dealing with it not being so. It's not that I think the
slouken@782
    33
    difference in audio quality is that great, but since it wouldn't
slouken@782
    34
    compile without code changes I assume no one's used it for quite
slouken@782
    35
    some time...
slouken@782
    36
  + Assume PRECALC_LOOPS is always defined. Judging by the comments it
slouken@782
    37
    may not make much of a difference either way, so why maintain two
slouken@782
    38
    versions of the same code?
slouken@782
    39
slouken@782
    40
* Moving several static globals into the MidiSong struct. This
slouken@782
    41
  includes sample rate, formate, etc. which are now all per-song.
slouken@782
    42
slouken@782
    43
* Moved some typedefs (e.g. MidiSong) to timidity.h for easy inclusion
slouken@782
    44
  into the MIDI decoder.
slouken@782
    45
slouken@782
    46
* Added free_pathlist().
slouken@782
    47
slouken@782
    48
* Replaced TiMidity's own 8, 16 and 32-bit types with SDL's.
slouken@782
    49
slouken@782
    50
* Made TiMidity look for its configuration file in both /etc and
slouken@782
    51
  /usr/local/lib/timidity. (Windows version remains unchanged.)
slouken@782
    52
slouken@782
    53
* Timidity_PlaySome() now takes three arguments. A MidiSong, a decode
slouken@782
    54
  buffer and decode buffer size in bytes. (MidiSong is a new argument,
slouken@782
    55
  and buffer size used to be in samples.)
slouken@782
    56
slouken@782
    57
  In addition, it will return the number of bytes decoded.
slouken@782
    58
slouken@782
    59
* Added Timidity_Exit().
slouken@782
    60
slouken@782
    61
* Removed Timidity_Stop() and Timidity_Active(). Stopping playback
slouken@782
    62
  should be handled by SDL_sound, and Timidity_PlaySome() will return
slouken@782
    63
  0 when the MIDI stream is finished.
slouken@782
    64
slouken@782
    65
* Modified the ToneBank stuff to allow some data to be shared between
slouken@782
    66
  MidiSongs.
slouken@782
    67
slouken@782
    68
* The following files have been removed: controls.c, controls.h,
slouken@782
    69
  filter.c, filter.h, sdl_a.c, sdl_c.c
slouken@782
    70
slouken@782
    71
* config.h has been renamed as options.h to avoid confusion with the
slouken@782
    72
  automatically generated config.h for SDL_sound.
slouken@782
    73
slouken@782
    74
* Added support for loading DLS format instruments:
slouken@782
    75
	Timidity_LoadDLS(), Timidity_FreeDLS(), Timidity_LoadDLSSong()
slouken@782
    76
slouken@782
    77
* Added Timidity_Init_NoConfig()