Subversion Repositories Kolibri OS

Rev

Rev 8557 | Rev 8646 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8557 Rev 8645
Line 25... Line 25...
25
//              For Cache Mgr:
25
//              For Cache Mgr:
26
//                      NeedsDigitized - load digitized sounds?
26
//                      NeedsDigitized - load digitized sounds?
27
//                      NeedsMusic - load music?
27
//                      NeedsMusic - load music?
28
//
28
//
Line 29... Line -...
29
 
-
 
30
/// ///////////// ///
-
 
31
/// In Kolibrios - stub
-
 
32
 
29
 
33
#include "wl_def.h"
30
#include "wl_def.h"
34
//#include 
31
#include "SDL_mixer/SDL_mixer.h"
35
#if defined(GP2X_940)
32
#if defined(GP2X_940)
36
#include "gp2x/fmopl.h"
33
#include "gp2x/fmopl.h"
37
#else
-
 
38
#ifdef USE_GPL
-
 
39
#include "dosbox/dbopl.h"
-
 
40
#else
34
#else
41
#include "mame/fmopl.h"
35
#include "mame/fmopl.h"
-
 
36
#endif
42
#endif
37
 
Line 43... Line 38...
43
#endif
38
#pragma hdrstop
Line 44... Line 39...
44
 
39
 
45
#define ORIGSAMPLERATE 7042
40
#define ORIGSAMPLERATE 7042
Line 69... Line 64...
69
{
64
{
70
    uint32_t startpage;
65
    uint32_t startpage;
71
    uint32_t length;
66
    uint32_t length;
72
} digiinfo;
67
} digiinfo;
Line -... Line 68...
-
 
68
 
-
 
69
static Mix_Chunk *SoundChunks[ STARTMUSIC - STARTDIGISOUNDS];
-
 
70
static byte      *SoundBuffers[STARTMUSIC - STARTDIGISOUNDS];
-
 
71
 
-
 
72
globalsoundpos channelSoundPos[MIX_CHANNELS];
73
 
73
 
74
//      Global variables
74
//      Global variables
75
        boolean         AdLibPresent,
75
        boolean         AdLibPresent,
76
                        SoundBlasterPresent,SBProPresent,
76
                        SoundBlasterPresent,SBProPresent,
77
                        SoundPositioned;
77
                        SoundPositioned;
Line 114... Line 114...
114
static  word                   *sqHackPtr;
114
static  word                   *sqHackPtr;
115
static  int                     sqHackLen;
115
static  int                     sqHackLen;
116
static  int                     sqHackSeqLen;
116
static  int                     sqHackSeqLen;
117
static  longword                sqHackTime;
117
static  longword                sqHackTime;