Home
last modified time | relevance | path

Searched refs:FPBITS (Results 1 – 4 of 4) sorted by relevance

/dports/audio/wildmidi/wildmidi-wildmidi-0.4.2/src/
H A Dwildmidi_lib.c100 #define FPBITS 10 macro
101 #define FPMASK ((1L<<FPBITS)-1L)
151 t = (double *) malloc((1<<FPBITS) * (n + 1) * sizeof(double)); in init_gauss()
152 x_inc = 1.0 / (1<<FPBITS); in init_gauss()
153 for (m = 0, x = 0.0; m < (1<<FPBITS); m++, x += x_inc) { in init_gauss()
903 data_pos = note_data->sample_pos >> FPBITS; in WM_GetOutput_Linear()
1219 data_pos = note_data->sample_pos >> FPBITS; in WM_GetOutput_Gauss()
1223 right = (note_data->sample->data_length >> FPBITS) - left in WM_GetOutput_Gauss()
1234 xd /= (1L << FPBITS); in WM_GetOutput_Gauss()
1238 + (note_data->sample_pos >> FPBITS) in WM_GetOutput_Gauss()
[all …]
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/wildmidi/
H A Dwildmidi_lib.cpp155 #define FPBITS 10 macro
156 #define FPMASK ((1L<<FPBITS)-1L)
201 gauss_table.resize((1<<FPBITS) * (n + 1)); in init_gauss()
203 x_inc = 1.0 / (1<<FPBITS); in init_gauss()
204 for (m = 0, x = 0.0; m < (1<<FPBITS); m++, x += x_inc) { in init_gauss()
2061 data_pos = note_data->sample_pos >> FPBITS; in WM_Mix_Linear()
2244 data_pos = note_data->sample_pos >> FPBITS; in WM_Mix_Gauss()
2248 right = (note_data->sample->data_length >> FPBITS) - left in WM_Mix_Gauss()
2259 xd /= (1L << FPBITS); in WM_Mix_Gauss()
2263 + (note_data->sample_pos >> FPBITS) in WM_Mix_Gauss()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/wildmidi/
H A Dwildmidi_lib.cpp177 #define FPBITS 10 macro
178 #define FPMASK ((1L<<FPBITS)-1L)
227 t = (double*)malloc((1<<FPBITS) * (n + 1) * sizeof(double)); in init_gauss()
228 x_inc = 1.0 / (1<<FPBITS); in init_gauss()
229 for (m = 0, x = 0.0; m < (1<<FPBITS); m++, x += x_inc) { in init_gauss()
2137 data_pos = note_data->sample_pos >> FPBITS; in WM_Mix_Linear()
2320 data_pos = note_data->sample_pos >> FPBITS; in WM_Mix_Gauss()
2324 right = (note_data->sample->data_length >> FPBITS) - left in WM_Mix_Gauss()
2335 xd /= (1L << FPBITS); in WM_Mix_Gauss()
2339 + (note_data->sample_pos >> FPBITS) in WM_Mix_Gauss()
[all …]
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/wildmidi/src/
H A Dwildmidi_lib.c524 #define FPBITS 10 macro
525 #define FPMASK ((1L<<FPBITS)-1L)
4299 data_pos = (*note_data)->sample_pos >> FPBITS;
4300 vol_mul = (((*note_data)->vol_lvl * ((*note_data)->env_level >> 12)) >> FPBITS);
4304 (signed long int)((*note_data)->sample_pos & FPMASK) >> FPBITS)) * vol_mul / 1024;
4656 data_pos = (*note_data)->sample_pos >> FPBITS;
4657 vol_mul = (((*note_data)->vol_lvl * ((*note_data)->env_level >> 12)) >> FPBITS);
4661 right = ((*note_data)->sample->data_length>>FPBITS)- left -1;
4671 xd /= (1L<<FPBITS);
4674 sptr = (*note_data)->sample->data + ((*note_data)->sample_pos>>FPBITS) - (temp_n>>1);
[all …]