On Tue, 07.12.10 11:50, Colin Guthrie ([email protected]) wrote: > Hi, > > I know Lennart isn't around just now but figured I'd ask this question > and see if anyone else has any comments about it. > > At present, the sample cache in PA is only used when a CA_PROP_EVENT_ID > is specified, and not when CA_PROP_MEDIA_FILENAME is used. > > Would people object if the latter was also cached (assuming appropriate > context or play proplist cache control headers of course). > > I guess you could just use an md5 or similar hash of the filename as the > cache key. > > Is there any fundamental problem with this?
Hmm, it's a bit unclean, because so far the event id is the clean cache key. Let's turn this around: what's the use-case for doing this? Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ libcanberra-discuss mailing list [email protected] https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss
