Structs§
Functions§
- delete_
from_ cache - Delete a specific file from the cache
- ensure_
cache_ dir - Ensure the cache directory exists
- generate_
cache_ key - Generate a cache key from text or URL
- get_
cache_ dir - Get the current cache directory
- get_
cache_ path - Get the full path for a cached file
- is_
cached - Check if a file exists in the cache
- retrieve_
from_ cache - Retrieve data from the cache
- retrieve_
from_ cache_ with_ buffer - retrieve_
pcm_ from_ cache - Retrieve decoded PCM samples (i16) from the cache stored as raw little-endian bytes
- retrieve_
pcm_ from_ cache_ at - Retrieve decoded PCM samples (i16) from the cache starting at
sample_offsetsamples in, seeking past the skipped bytes instead of reading them. - set_
cache_ dir - Set the cache directory for the media cache
- store_
in_ cache - Store data in the cache
- store_
in_ cache_ vectored - store_
pcm_ in_ cache - Store decoded PCM samples (i16) in the cache as raw little-endian bytes