mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-27 06:08:01 +02:00
2017-09-21 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdrenderer.cpp' that caused audio corruption when rendering logs longer than 44:30.
This commit is contained in:
parent
f9efd33d02
commit
cb4c4dafd8
@ -16042,3 +16042,6 @@
|
|||||||
2017-09-20 Fred Gleason <fredg@paravelsystems.com>
|
2017-09-20 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a bug in rdrender(1) that caused the --channels option
|
* Fixed a bug in rdrender(1) that caused the --channels option
|
||||||
to be ignored.
|
to be ignored.
|
||||||
|
2017-09-21 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in 'lib/rdrenderer.cpp' that caused audio corruption
|
||||||
|
when rendering logs longer than 44:30.
|
||||||
|
@ -519,8 +519,8 @@ bool RDRenderer::Render(const QString &outfile,RDLogEvent *log,RDSettings *s,
|
|||||||
lls.at(i)->cut()->startPoint());
|
lls.at(i)->cut()->startPoint());
|
||||||
}
|
}
|
||||||
pcm=new float[frames*s->channels()];
|
pcm=new float[frames*s->channels()];
|
||||||
memset(pcm,0,frames*s->channels());
|
memset(pcm,0,frames*s->channels()*sizeof(float));
|
||||||
|
|
||||||
for(unsigned j=0;j<i;j++) {
|
for(unsigned j=0;j<i;j++) {
|
||||||
Sum(pcm,lls.at(j),frames,s->channels());
|
Sum(pcm,lls.at(j),frames,s->channels());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user