Ticket #7951: loomfix.diff
File loomfix.diff, 678 bytes (added by , 23 years ago) |
---|
-
sound.cpp
RCS file: /cvsroot/scummvm/scummvm/sound.cpp,v retrieving revision 1.53 diff -u -r1.53 sound.cpp
728 734 729 735 // Calc offset 730 736 frame_size = 144 * _mad_header[index].bitrate / _mad_header[index].samplerate; 731 offset = (long)((float)start / (float)75 * 1000 / 732 (float)((float)1152 / (float)_mad_header[index].samplerate * 733 1000) * (float)(frame_size + 0.5)); 737 offset = (long)( (float)start / (float)75 * ((float)_mad_header[index].bitrate/(float)8)); 738 734 739 // Calc delay