~ubuntu-branches/ubuntu/oneiric/xmp/oneiric

« back to all changes in this revision

Viewing changes to src/player/player.h

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2010-01-15 01:15:22 UTC
  • mfrom: (1.1.8 upstream) (4.2.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100115011522-r4otlsg687ee1yx4
Tags: 3.0.0+20090923-1ubuntu1
* Merge from debian testing (LP: #507732).  Reamining changes:
  + Add PulseAudio support:
    - debian/rules: Add --enable-pulseaudio to ./configure
  + RFE Compile with 128 bit mixer:
    - dpatch support

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#ifndef __XMP_PLAYER_H
10
10
#define __XMP_PLAYER_H
11
11
 
12
 
/* Flag control */
 
12
/* Quirk control */
 
13
#define HAS_QUIRK(x)    (m->quirk & (x))
 
14
 
 
15
/* Channel flag control */
13
16
#define SET(f)          SET_FLAG(xc->flags,f)
14
17
#define RESET(f)        RESET_FLAG(xc->flags,f)
15
18
#define TEST(f)         TEST_FLAG(xc->flags,f)
88
91
    int per_flags;              /* Persistent effect channel flags */
89
92
    int note;                   /* Note number */
90
93
    int key;                    /* Key number */
91
 
    int period;                 /* Amiga or linear period */
 
94
    double period;              /* Amiga or linear period */
92
95
    int pitchbend;              /* Pitch bender value */
93
96
    int finetune;               /* Guess what */
94
97
    int ins;                    /* Instrument number */
180
183
};
181
184
 
182
185
 
183
 
void process_fx(struct xmp_context *, int, uint8, uint8, uint8, struct xmp_channel *);
 
186
void process_fx(struct xmp_context *, int, uint8, uint8, uint8, struct xmp_channel *, int);
184
187
void xmp_med_synth(struct xmp_context *, int, struct xmp_channel *, int);
185
188
int get_med_arp(struct xmp_player_context *, struct xmp_channel *);
186
189
int get_med_vibrato(struct xmp_channel *);