Diff for /np2/sound/rhythm.h between versions 1.1 and 1.3

version 1.1, 2003/10/16 17:58:05 version 1.3, 2004/02/18 20:11:37
Line 1 Line 1
   
 enum {  
         RHYTHM_MAX              = 6  
 };  
   
 typedef struct {  
 const SINT16    *ptr;  
         UINT            remain;  
         UINT            volreg;  
         UINT            volume;  
         UINT            lr;  
 } RHYTHMCH;  
   
 typedef struct {  typedef struct {
         RHYTHMCH        r[RHYTHM_MAX];          PMIXHDR hdr;
         UINT            vol;          PMIXTRK trk[6];
         UINT            bitmap;          UINT    vol;
           UINT8   trkvol[8];
 } _RHYTHM, *RHYTHM;  } _RHYTHM, *RHYTHM;
   
 typedef struct {  
         SINT16  *data;  
         UINT    samples;  
 } RHYTHMPCM;  
   
 typedef struct {  
         RHYTHMPCM       pcm[RHYTHM_MAX];  
         UINT            vol;  
         UINT            voltbl[96];  
 } RHYTHMCFG;  
   
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
Line 35  extern "C" { Line 13  extern "C" {
   
 void rhythm_initialize(UINT rate);  void rhythm_initialize(UINT rate);
 void rhythm_deinitialize(void);  void rhythm_deinitialize(void);
   UINT rhythm_getcaps(void);
 void rhythm_setvol(UINT vol);  void rhythm_setvol(UINT vol);
   
 void rhythm_reset(RHYTHM rhy);  void rhythm_reset(RHYTHM rhy);
   void rhythm_bind(RHYTHM rhy);
 void rhythm_update(RHYTHM rhy);  void rhythm_update(RHYTHM rhy);
 void rhythm_setreg(RHYTHM rhy, BYTE reg, BYTE val);  void rhythm_setreg(RHYTHM rhy, REG8 reg, REG8 val);
   
 void SOUNDCALL rhythm_getpcm(RHYTHM rhy, SINT32 *pcm, UINT count);  
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

Removed from v.1.1  
changed lines
  Added in v.1.3


RetroPC.NET-CVS <cvs@retropc.net>