diff options
author | Jörg Müller <nexyon@gmail.com> | 2022-06-23 22:32:34 +0300 |
---|---|---|
committer | Jörg Müller <nexyon@gmail.com> | 2022-06-23 22:32:34 +0300 |
commit | 41a0411d79382485f39470fa319e10ec2e1c53be (patch) | |
tree | f8257b1b676f9c7802593e076bed216371b2377d /extern | |
parent | b0fe0e6a3047e18d35d0f6ca8e9fc39f60e9f787 (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.cpp | 2 |
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); |