forked from bartvdbraak/blender
Fix T46683: High pitch sound artifact on import of 48k audio
The bug header is wrong, the file contains the high pitched sound, but the bug that existed was that animation rendering did not use the high quality resampler, while audio mixdown does. Blender uses the low quality resampler to be as little CPU consuming as possible.
This commit is contained in:
parent
7f57bc9ef4
commit
8c25c1c484
@ -1292,9 +1292,11 @@ AUD_Device *AUD_openMixdownDevice(AUD_DeviceSpecs specs, AUD_Sound *sequencer, f
|
||||
device->setQuality(true);
|
||||
device->setVolume(volume);
|
||||
|
||||
dynamic_cast<AUD_SequencerFactory *>(sequencer->get())->setSpecs(specs.specs);
|
||||
AUD_SequencerFactory *f = dynamic_cast<AUD_SequencerFactory *>(sequencer->get());
|
||||
|
||||
AUD_Handle handle = device->play(*sequencer);
|
||||
f->setSpecs(specs.specs);
|
||||
|
||||
AUD_Handle handle = device->play(f->createQualityReader());
|
||||
if (handle.get()) {
|
||||
handle->seek(start);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user