Merge branch 'rdwavepainter-unsigned-on-arm' of github.com:rmc47/rivendell into rmc47-rdwavepainter-unsigned-on-arm

This commit is contained in:
Fred Gleason 2022-11-15 13:12:52 -05:00
commit 739dad3455

View File

@ -221,8 +221,8 @@ void RDWavePainter::drawWaveByMsecs(int x,int w,int startmsecs,int endmsecs,
int startclip,int endclip)
{
drawWaveBySamples(x,w,
(unsigned)((double)startmsecs*(double)wave_sample_rate/1000.0),
(unsigned)((double)endmsecs*(double)wave_sample_rate/1000.0),
(int)((double)startmsecs*(double)wave_sample_rate/1000.0),
(int)((double)endmsecs*(double)wave_sample_rate/1000.0),
gain,channel,color,
(int)((double)startclip*(double)wave_sample_rate/1000.0),
(int)((double)endclip*(double)wave_sample_rate/1000.0));