~ubuntu-branches/ubuntu/lucid/timidity/lucid

« back to all changes in this revision

Viewing changes to timidity/recache.c

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Wenning
  • Date: 2009-05-08 22:55:09 UTC
  • mfrom: (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090508225509-9ays3b9pm70vongw
Tags: 2.13.2-22ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control: Remove libarts1-dev from build depends and update
    timidity package description.
  - debian/rules: Remove arts from list of output options.
  - debian/timidity.default: Enable MIDI sequencer by default

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
#define MAX_EXPANDLEN (1024 * 32)
57
57
#define CACHE_DATA_LEN (allocate_cache_size / sizeof(sample_t))
58
58
 
59
 
#define sp_hash(sp, note) ((unsigned int) (sp) + (unsigned int) (note))
 
59
#define sp_hash(sp, note) ((unsigned long) (sp) + (unsigned int) (note))
60
60
#define CACHE_RESAMPLING_OK 0
61
61
#define CACHE_RESAMPLING_NOTOK 1
62
62
#define SORT_THRESHOLD 20