tornavis/extern
Sebastian Parborg 6dfb1cdf22 Fix: Crash/Assert in the pusleaudio lib when pausing playback
After 91eb50ec2f, we would get random crashes/asserts from the pulseaudio library like:
`Assertion 'e->mainloop->n_enabled_defer_events > 0' failed at ../pulseaudio-17.0/src/pulse/mainloop.c:261, function mainloop_defer_enable(). Aborting.`

It seems like we would run into a race condition if we didn't guard the
pulseaudio flush command with the pulseaudio mutex.

This is probably because the pulseaudio thread would try to read the
buffer for a tiny bit even after pausing the playback.

Sadly the only way to reproduce this is to playback any scene (seem to happen more often if A/V sync is on) and spam play/pause.
Note that I could not reproduce this on every computer I tested this on.

But by expanding the main pulseaudio mutex lock, I can't seem to reproduce this anymore.
So I think that is the correct solution.

Pull Request: https://projects.blender.org/blender/blender/pulls/120072
2024-03-29 19:47:16 +01:00
..
Eigen3 Update Eigen to version 3.4.0 2023-07-03 15:09:20 +02:00
audaspace Fix: Crash/Assert in the pusleaudio lib when pausing playback 2024-03-29 19:47:16 +01:00
binreloc License headers: use SPDX-FileCopyrightText for CMake files 2023-06-14 23:36:23 +10:00
bullet2 Unbreak build on macOS with AppleClang from recent cleanup 2024-03-07 19:56:58 +11:00
ceres License headers: use SPDX-FileCopyrightText for CMake files 2023-06-14 23:36:23 +10:00
cuew Windows: Add ARM64 support 2024-03-06 16:14:34 +01:00
curve_fit_nd Build: replace Blender specific DEBUG by standard NDEBUG 2023-12-06 16:05:14 +01:00
draco License headers: use SPDX-FileCopyrightText for CMake files 2023-06-14 23:36:23 +10:00
fast_float Externals: update fast_float to latest version (5.0.0) to fix some compile warnings 2023-05-30 10:01:48 +03:00
fmtlib Cleanup: CMake: Modernize extern_fmtlib dependencies 2024-02-03 18:55:09 +01:00
gflags License headers: use SPDX-FileCopyrightText for CMake files 2023-06-14 23:36:23 +10:00
glew-es/include/GL GPU: replace GLEW with libepoxy 2022-08-15 16:10:29 +02:00
glog Cleanup: quiet redefined warning in GLOG 2023-08-17 16:09:58 +10:00
gmock License headers: use SPDX-FileCopyrightText for CMake files 2023-06-14 23:36:23 +10:00
gtest License headers: use SPDX-FileCopyrightText for CMake files 2023-06-14 23:36:23 +10:00
hipew Windows: Add ARM64 support 2024-03-06 16:14:34 +01:00
json Extern: Update json library to 3.11.2 2023-07-11 18:01:18 +02:00
lzma Unbreak build on macOS with AppleClang from recent cleanup 2024-03-07 19:56:58 +11:00
lzo Windows: Add ARM64 support 2024-03-06 16:14:34 +01:00
mantaflow Build: changes to macOS build flags to fix linker warnings 2024-01-02 16:22:48 +01:00
nanosvg UI: SVG Thumbnails 2023-07-12 22:39:23 +02:00
quadriflow Unbreak build on macOS with AppleClang from recent cleanup 2024-03-07 19:56:58 +11:00
rangetree Build: replace Blender specific DEBUG by standard NDEBUG 2023-12-06 16:05:14 +01:00
renderdoc GPU: Renderdoc Frame Capturing 2023-03-23 16:37:52 +01:00
sdlew License headers: use SPDX-FileCopyrightText for CMake files 2023-06-14 23:36:23 +10:00
tinygltf Extern: Update TinyGLTF to version 2.8.21 2024-03-12 17:02:10 +01:00
vulkan_memory_allocator Unbreak build on macOS with AppleClang from recent cleanup 2024-03-07 19:56:58 +11:00
wcwidth Revert changes from main commits that were merged into blender-v4.0-release 2023-10-30 21:40:35 +01:00
xdnd Fix dropping text & URL's from google-chrome in X11 2024-02-20 16:19:31 +11:00
.clang-format
CMakeLists.txt Compositor: Port GLSL SMAA to CPU compositor 2024-03-25 14:21:00 +01:00
README Extern libs: Remove info to update THIRD-PARTY-LICENSES 2024-03-19 17:06:31 +01:00

README

When updating a library remember to:

* Update the README.blender with the corresponding version.