mirror of
https://github.com/bluekitchen/btstack.git
synced 2024-12-26 00:16:08 +00:00
3rdparty/hxcmod: rename channel into hxcmod_channel_t
This commit is contained in:
parent
ce713b46c5
commit
b7454a8757
10
3rd-party/hxcmod-player/hxcmod.c
vendored
10
3rd-party/hxcmod-player/hxcmod.c
vendored
@ -451,7 +451,7 @@ static int getnote( modcontext * mod, unsigned short period )
|
||||
return MAXNOTES;
|
||||
}
|
||||
|
||||
static void doFunk(channel * cptr)
|
||||
static void doFunk(hxcmod_channel_t * cptr)
|
||||
{
|
||||
if(cptr->funkspeed)
|
||||
{
|
||||
@ -476,7 +476,7 @@ static void doFunk(channel * cptr)
|
||||
}
|
||||
}
|
||||
|
||||
static void worknote( note * nptr, channel * cptr,char t,modcontext * mod )
|
||||
static void worknote( note * nptr, hxcmod_channel_t * cptr,char t,modcontext * mod )
|
||||
{
|
||||
// BK4BSTACK_CHANGE START
|
||||
(void) t;
|
||||
@ -1148,7 +1148,7 @@ static void worknote( note * nptr, channel * cptr,char t,modcontext * mod )
|
||||
|
||||
}
|
||||
|
||||
static void workeffect( modcontext * modctx, note * nptr, channel * cptr )
|
||||
static void workeffect( modcontext * modctx, note * nptr, hxcmod_channel_t * cptr )
|
||||
{
|
||||
// BK4BSTACK_CHANGE START
|
||||
(void) nptr;
|
||||
@ -1624,7 +1624,7 @@ void hxcmod_fillbuffer(modcontext * modctx, msample * outbuffer, mssize nbsample
|
||||
|
||||
short finalperiod;
|
||||
note *nptr;
|
||||
channel *cptr;
|
||||
hxcmod_channel_t *cptr;
|
||||
|
||||
if( modctx && outbuffer )
|
||||
{
|
||||
@ -1671,7 +1671,7 @@ void hxcmod_fillbuffer(modcontext * modctx, msample * outbuffer, mssize nbsample
|
||||
|
||||
for(c=0;c<modctx->number_of_channels;c++)
|
||||
{
|
||||
worknote((note*)(nptr), (channel*)(cptr),(char)(c+1),modctx);
|
||||
worknote((note*)(nptr), (hxcmod_channel_t*)(cptr),(char)(c+1),modctx);
|
||||
|
||||
if (cptr->period != 0)
|
||||
{
|
||||
|
4
3rd-party/hxcmod-player/hxcmod.h
vendored
4
3rd-party/hxcmod-player/hxcmod.h
vendored
@ -168,7 +168,7 @@ typedef struct {
|
||||
|
||||
muint patternloopcnt;
|
||||
muint patternloopstartpoint;
|
||||
} channel;
|
||||
} hxcmod_channel_t;
|
||||
|
||||
typedef struct {
|
||||
module song;
|
||||
@ -203,7 +203,7 @@ typedef struct {
|
||||
|
||||
mulong sampleticksconst;
|
||||
|
||||
channel channels[NUMMAXCHANNELS];
|
||||
hxcmod_channel_t channels[NUMMAXCHANNELS];
|
||||
|
||||
muint number_of_channels;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user