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 /source/blender | |
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 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_playanim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c index 9c97b05f79b..baba64b2230 100644 --- a/source/blender/windowmanager/intern/wm_playanim.c +++ b/source/blender/windowmanager/intern/wm_playanim.c @@ -1856,7 +1856,7 @@ void WM_main_playanim(int argc, const char **argv) AUD_DeviceSpecs specs; specs.rate = AUD_RATE_48000; - specs.format = AUD_FORMAT_S16; + specs.format = AUD_FORMAT_FLOAT32; specs.channels = AUD_CHANNELS_STEREO; AUD_initOnce(); |