Commit graph

6 commits

Author SHA1 Message Date
Peter Hutterer
2405f0942b spa/buffer: rename SPA_MEMBER to SPA_PTROFF
SPA_MEMBER is misleading, all we're doing here is pointer+offset and a
type-casting the result. Rename to SPA_PTROFF which is more expressive (and
has the same number of characters so we don't need to re-indent).
2021-05-06 09:39:39 +00:00
Wim Taymans
486d797735 pulse-server: use rate match to feed samples
Fixes #595
2021-01-21 13:39:54 +01:00
Wim Taymans
d2a5f5c1ae pulse-server: also cleanup sample when error
Remove the separate error event and merge with the done event with
error code. This then also marks the sample as done when in error
so that it gets cleaned up properly.

Fixes #486
2020-12-18 09:50:12 +01:00
Wim Taymans
0ff7321a65 pulse-server: send right id in PLAY_SAMPLE reply
Also handle errors.
2020-11-15 21:02:49 +01:00
Georges Basile Stavracas Neto
ee82bfe5fb pulse-server: Correctly unref sample
Decrease the actual ref counter, instead of the pointer
value.
2020-11-13 21:29:22 -03:00
Wim Taymans
b447167339 pulse-server: actually play the sample from the cache 2020-11-13 18:19:56 +01:00