Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/audaspace')
-rw-r--r--intern/audaspace/intern/AUD_C-API.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/intern/audaspace/intern/AUD_C-API.cpp b/intern/audaspace/intern/AUD_C-API.cpp
index 341f1cd3f6b..6d8d2d1f41e 100644
--- a/intern/audaspace/intern/AUD_C-API.cpp
+++ b/intern/audaspace/intern/AUD_C-API.cpp
@@ -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);
}