mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
pinossink: clear the cache
Now that we don't destroy the cache anymore when suspending, we need to manually clear the buffers in the cache.
This commit is contained in:
parent
5c7447fb4d
commit
76afc1e330
3 changed files with 25 additions and 4 deletions
|
|
@ -272,6 +272,7 @@ void gst_burst_cache_get_limits (GstBurstCache *cache,
|
|||
|
||||
void gst_burst_cache_queue_buffer (GstBurstCache *cache,
|
||||
GstBuffer *buffer);
|
||||
void gst_burst_cache_remove_buffers (GstBurstCache *cache);
|
||||
|
||||
GstBurstCacheReader * gst_burst_cache_reader_new (GstBurstCache *cache,
|
||||
GstBurstCacheReaderCallback callback,
|
||||
|
|
@ -292,7 +293,7 @@ gboolean gst_burst_cache_error_reader (GstBurstCache *cache,
|
|||
GstBurstCacheReader *reader,
|
||||
GError *error);
|
||||
|
||||
void gst_burst_cache_clear_readers (GstBurstCache * cache);
|
||||
void gst_burst_cache_remove_readers (GstBurstCache * cache);
|
||||
|
||||
|
||||
GstBurstCacheResult gst_burst_cache_get_buffer (GstBurstCache *cache,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue