AUDIO: Correct spelling mistake

rythm -> rhythm
This commit is contained in:
Hubert Maier 2022-10-27 10:36:50 +02:00 committed by Eugene Sandulenko
parent 78431e8cf3
commit 842aa95765
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -546,7 +546,7 @@ inline void OPL_CALC_CH(OPL_CH *CH) {
}
}
/* ---------- calcrate rythm block ---------- */
/* ---------- calcrate rhythm block ---------- */
#define WHITE_NOISE_db 6.0
inline void OPL_CALC_RH(FM_OPL *OPL, OPL_CH *CH) {
uint env_tam, env_sd, env_top, env_hh;
@ -1039,7 +1039,7 @@ void YM3812UpdateOne(FM_OPL *OPL, int16 *buffer, int length) {
int16 *buf = buffer;
uint amsCnt = OPL->amsCnt;
uint vibCnt = OPL->vibCnt;
uint8 rythm = OPL->rythm & 0x20;
uint8 rhythm = OPL->rhythm & 0x20;
OPL_CH *CH, *R_CH;
@ -1048,7 +1048,7 @@ void YM3812UpdateOne(FM_OPL *OPL, int16 *buffer, int length) {
/* channel pointers */
S_CH = OPL->P_CH;
E_CH = &S_CH[9];
/* rythm slot */
/* rhythm slot */
SLOT7_1 = &S_CH[7].SLOT[SLOT1];
SLOT7_2 = &S_CH[7].SLOT[SLOT2];
SLOT8_1 = &S_CH[8].SLOT[SLOT1];
@ -1059,7 +1059,7 @@ void YM3812UpdateOne(FM_OPL *OPL, int16 *buffer, int length) {
ams_table = OPL->ams_table;
vib_table = OPL->vib_table;
}
R_CH = rythm ? &S_CH[6] : E_CH;
R_CH = rhythm ? &S_CH[6] : E_CH;
for (i = 0; i < length; i++) {
/* channel A channel B channel C */
/* LFO */