mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 12:40:42 +00:00
hxmod-player: more shadowing warning fixes
This commit is contained in:
parent
f319854513
commit
664a636e99
8
3rd-party/hxcmod-player/hxcmod.c
vendored
8
3rd-party/hxcmod-player/hxcmod.c
vendored
@ -208,7 +208,7 @@ static int getnote( modcontext * mod, unsigned short period, int finetune )
|
||||
return MAXNOTES;
|
||||
}
|
||||
|
||||
static void worknote( note * nptr, channel * cptr,char t,modcontext * mod )
|
||||
static void worknote( note * nptr, hxcmod_channel * cptr,char t,modcontext * mod )
|
||||
{
|
||||
(void) t;
|
||||
muint _sample, period, effect, operiod;
|
||||
@ -685,7 +685,7 @@ static void worknote( note * nptr, channel * cptr,char t,modcontext * mod )
|
||||
|
||||
}
|
||||
|
||||
static void workeffect( note * nptr, channel * cptr )
|
||||
static void workeffect( note * nptr, hxcmod_channel * cptr )
|
||||
{
|
||||
(void) nptr;
|
||||
|
||||
@ -1031,7 +1031,7 @@ void hxcmod_fillbuffer( modcontext * modctx, unsigned short * outbuffer, unsigne
|
||||
int tl,tr;
|
||||
short finalperiod;
|
||||
note *nptr;
|
||||
channel *cptr;
|
||||
hxcmod_channel *cptr;
|
||||
|
||||
if( modctx && outbuffer )
|
||||
{
|
||||
@ -1070,7 +1070,7 @@ void hxcmod_fillbuffer( modcontext * modctx, unsigned short * outbuffer, unsigne
|
||||
|
||||
for(c=0;c<modctx->number_of_channels;c++)
|
||||
{
|
||||
worknote((note*)(nptr+c), (channel*)(cptr+c),(char)(c+1),modctx);
|
||||
worknote((note*)(nptr+c), (hxcmod_channel*)(cptr+c),(char)(c+1),modctx);
|
||||
}
|
||||
|
||||
if( !modctx->jump_loop_effect )
|
||||
|
4
3rd-party/hxcmod-player/hxcmod.h
vendored
4
3rd-party/hxcmod-player/hxcmod.h
vendored
@ -100,7 +100,7 @@ typedef struct {
|
||||
|
||||
muint patternloopcnt;
|
||||
muint patternloopstartpoint;
|
||||
} channel;
|
||||
} hxcmod_channel;
|
||||
|
||||
typedef struct {
|
||||
module song;
|
||||
@ -120,7 +120,7 @@ typedef struct {
|
||||
|
||||
mulong samplenb;
|
||||
|
||||
channel channels[NUMMAXCHANNELS];
|
||||
hxcmod_channel channels[NUMMAXCHANNELS];
|
||||
|
||||
muint number_of_channels;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user