| pw = (int *)mbrola_tab; | pw = (int *)mbrola_tab; | ||||
| for (ix = 4; ix < size; ix += 4) | for (ix = 4; ix < size; ix += 4) | ||||
| *pw++ = Read4Bytes(f_in); | *pw++ = Read4Bytes(f_in); | ||||
| if (fread(mbrola_tab, 1, size, f_in) != size) { | |||||
| int error = errno; | |||||
| fclose(f_in); | |||||
| return error; | |||||
| } | |||||
| fclose(f_in); | fclose(f_in); | ||||
| setVolumeRatio_MBR((float)(mbrola_control & 0xff) /16.0f); | setVolumeRatio_MBR((float)(mbrola_control & 0xff) /16.0f); |