mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2022-11-15 Fred Gleason <fredg@paravelsystems.com>
* Applied a PR from Robert Chipperfield that broke waveform generation on ARM architectures. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -220,8 +220,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));
|
||||
|
Reference in New Issue
Block a user