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
path: root/extern
diff options
context:
space:
mode:
authorJörg Müller <nexyon@gmail.com>2022-06-23 22:32:34 +0300
committerJörg Müller <nexyon@gmail.com>2022-06-23 22:32:34 +0300
commit41a0411d79382485f39470fa319e10ec2e1c53be (patch)
treef8257b1b676f9c7802593e076bed216371b2377d /extern
parentb0fe0e6a3047e18d35d0f6ca8e9fc39f60e9f787 (diff)
Fix T99083: audio bad in command-line video player (blender -a)
There was a wrong sample size computation in PulseAudioDevice. The sample format is switched to float32 for the command-line player.
Diffstat (limited to 'extern')
-rw-r--r--extern/audaspace/plugins/pulseaudio/PulseAudioDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/audaspace/plugins/pulseaudio/PulseAudioDevice.cpp b/extern/audaspace/plugins/pulseaudio/PulseAudioDevice.cpp
index cddc411cfc6..d2de89977a9 100644
--- a/extern/audaspace/plugins/pulseaudio/PulseAudioDevice.cpp
+++ b/extern/audaspace/plugins/pulseaudio/PulseAudioDevice.cpp
@@ -41,7 +41,7 @@ double PulseAudioDevice::PulseAudioSynchronizer::getPosition(std::shared_ptr<IHa
void PulseAudioDevice::updateRingBuffer()
{
- unsigned int samplesize = AUD_SAMPLE_SIZE(m_specs);
+ unsigned int samplesize = AUD_DEVICE_SAMPLE_SIZE(m_specs);
std::unique_lock<std::mutex> lock(m_mixingLock);