pipewire/src/modules/module-protocol-pulse
Wim Taymans c62905d911 pulse-server: clear old data when jumping forwards
When we write samples, check if we make a jump in the ringbuffer and
clear the samples we jumped over.

If we don't do this, the reader side might pick up old samples that we
didn't write or clear but that are now available for reading after we
made a jump in the ringbuffer.

This migh not be exactly what pulseaudio does but it is good for now.

Fixes #4464
2025-01-16 16:21:22 +01:00
..
modules spa: add spa_json_object_next 2024-09-16 09:50:36 +02:00
client.c pulse-server: calculate event mask from facility and type 2024-09-18 19:35:08 +02:00
client.h pulse-server: calculate event mask from facility and type 2024-09-18 19:35:08 +02:00
cmd.c pulse-server: fix pulse.cmd load-module not loading multiple overrides 2024-11-28 19:34:22 +00:00
cmd.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
collect.c pulse-server: fill in active port for monitors 2023-12-20 10:15:06 +01:00
collect.h pulse-server: add stream/device state in dev_info 2023-11-20 11:39:31 +01:00
commands.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
dbus-name.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
dbus-name.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
defs.h pulse-server: calculate event mask from facility and type 2024-09-18 19:35:08 +02:00
extension.c pulse-server: move extension to modules 2024-01-23 13:31:05 +01:00
extension.h pulse-server: move extension to modules 2024-01-23 13:31:05 +01:00
format.c pulse-server: make a function to silence a buffer 2025-01-16 16:16:39 +01:00
format.h pulse-server: make a function to silence a buffer 2025-01-16 16:16:39 +01:00
internal.h pulse-server: calculate event mask from facility and type 2024-09-18 19:35:08 +02:00
log.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
manager.c pass the right types to the methods 2024-11-20 10:17:37 +01:00
manager.h pulse-server: pass the client to message handlers 2023-10-06 16:16:48 +02:00
message-handler.c pulse-server: implement describe-module with core message 2024-05-06 11:39:52 +02:00
message-handler.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
message.c Fix compilation with -Werror=float-conversion 2024-06-18 12:17:56 +02:00
message.h pulse-server: message: use union to store event data 2024-05-15 08:31:40 +00:00
module.c pulse-server: calculate event mask from facility and type 2024-09-18 19:35:08 +02:00
module.h pulse-server: implement describe-module with core message 2024-05-06 11:39:52 +02:00
operation.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
operation.h pulse-server: add operation_free_by_tag() 2023-05-10 18:57:20 +00:00
pending-sample.c pulse-server: pending-sample: handle client disconnection correctly 2023-05-10 18:57:20 +00:00
pending-sample.h pulse-server: pending-sample: handle client disconnection correctly 2023-05-10 18:57:20 +00:00
pulse-server.c pulse-server: make a function to silence a buffer 2025-01-16 16:16:39 +01:00
pulse-server.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
quirks.c pulse-server: add quirk to block record and playback streams 2024-09-23 10:56:40 +02:00
quirks.h pulse-server: add quirk to block record and playback streams 2024-09-23 10:56:40 +02:00
remap.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
remap.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
reply.c pulse-server: include "reply.h" in "reply.h" 2023-07-03 19:40:31 +02:00
reply.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
sample-play.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
sample-play.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
sample.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
sample.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
server.c pulse-server: clear old data when jumping forwards 2025-01-16 16:21:22 +01:00
server.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
snap-policy.c pulse-server: show warning about snap kernel features only once 2024-05-01 13:17:31 +03:00
snap-policy.h Replace even more spaces with tabs 2024-01-12 11:35:17 +00:00
stream.c pulse-server: set pulse.corked on streams 2024-09-30 15:02:08 +02:00
stream.h pulse-server: set pulse.corked on streams 2024-09-30 15:02:08 +02:00
utils.c protocol-pulse: implement readiness notification 2024-10-22 09:50:27 +02:00
utils.h protocol-pulse: implement readiness notification 2024-10-22 09:50:27 +02:00
volume.c Fix compilation with -Werror=float-conversion 2024-06-18 12:17:56 +02:00
volume.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00