[PATCH] libpulse: Store pa_stream pointers to hashmaps instead of dynarrays.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'Twas brillig, and Tanu Kaskinen at 03/12/09 11:22 did gyre and gimble:
> 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.

Just for clarity, this is also merged :)

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux