View Single Post
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#1389
I changed size of memory pool which can be used for allocation. I increased it from 16MB to 64MB. This means that pulseaudio now can use more RAM.

Please test RAM usage if Maemo system is still usable... Pulseaudio can use more RAM, but does not have to. But now if ringtones working it means that pulseaudio really using more memory (for buffers).

Pulseaudio has some memory slots of some size. Max memory pool size is slot count * slot size.

Here is info about slot count and size:

original upstream version:
slot count = 1024
slot size = 64 * 1024 (bytes)
total size = 64MB

nokia version (default for PR1.3):
slot count = 1024
slot size = 16 * 1024 (bytes)
total size = 16MB

cssu3 version:
slot count = 256
slot size = 64 * 1024 (bytes)
total size = 16MB

Because for using pulseaudio via network slot size needs to be at least 50kB, I increased slot size and decreased slot count to have same total memory size as in PR1.3.

But it looks like that ringtones not working in this configuration - no idea why. It has same allocation size.

In this last version I change slot allocation policy to upstream configuration, so we have more slots, enough slot size for network streaming but also pulseaudio can drain more RAM...
 

The Following 9 Users Say Thank You to pali For This Useful Post: