summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/memblockq.h
diff options
context:
space:
mode:
authorTanu Kaskinen <ext-tanu.kaskinen@nokia.com>2009-12-03 13:22:05 +0200
committerLennart Poettering <lennart@poettering.net>2010-01-15 01:38:19 +0100
commit52c66b47664d47154b2c8368e32beef27d4b2d03 (patch)
tree368a1dcf5e200f14c136d7c56ee275785a934be3 /src/pulsecore/memblockq.h
parentfd5c802ecb5ae5ed9b294422410761126a37d1b3 (diff)
libpulse: Store pa_stream pointers to hashmaps instead of dynarrays.
Since the stream identifiers (channels) are monotonically growing integer, it isn't a good idea to use them as index to a dynamic array, because the array will grow all the time. This is not a problem with client connections that don't create many streams, but, for example, long-running clients that use libcanberra for playing event sounds, this means that the client connection effectively leaks memory.
Diffstat (limited to 'src/pulsecore/memblockq.h')
0 files changed, 0 insertions, 0 deletions