entchannel = (int)PRVM_G_FLOAT(OFS_PARM1);
if (entchannel <= 0 || entchannel > 8)
VM_Warning("VM_getsoundtime: %s: bad channel %i\n", PRVM_NAME, entchannel);
- PRVM_G_FLOAT(OFS_RETURN) = (float)S_GetEntChallelPosition(entnum, entchannel);
+ PRVM_G_FLOAT(OFS_RETURN) = (float)S_GetEntChannelPosition(entnum, entchannel);
}
/*
return (s % sfx->total_length) / (float) S_GetSoundRate();
}
-float S_GetEntChallelPosition(int entnum, int entchannel)
+float S_GetEntChannelPosition(int entnum, int entchannel)
{
channel_t *ch;
unsigned int i;
return -1;
}
-float S_GetEntChallelPosition(int entnum, int entchannel)
+float S_GetEntChannelPosition(int entnum, int entchannel)
{
return -1;
}
qboolean S_SetChannelFlag (unsigned int ch_ind, unsigned int flag, qboolean value);
void S_SetChannelVolume (unsigned int ch_ind, float fvol);
float S_GetChannelPosition (unsigned int ch_ind);
-float S_GetEntChallelPosition(int entnum, int entchannel);
+float S_GetEntChannelPosition(int entnum, int entchannel);
void S_BlockSound (void);
void S_UnblockSound (void);