summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix detection of page size for non-POSIX systems.Pierre Ossman2006-08-222-2/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1312 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix missing header for timeval helpers.Pierre Ossman2006-08-221-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1311 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix calls to pa_memblock_new().Pierre Ossman2006-08-221-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1310 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add header for pa_cstrerror().Pierre Ossman2006-08-221-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1309 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix call to pa_pstream_send_tagstruct().Pierre Ossman2006-08-221-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1308 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add an ifdef for when we do not have creds.Pierre Ossman2006-08-221-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1307 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix pactl output (sink drivers and names where switched)Lennart Poettering2006-08-211-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1306 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoLennart Poettering2006-08-191-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1305 fefdeb5f-60dc-0310-8127-8f9354f1896f
* restore the sink/source for a client in addition to the playback volume. ↵Lennart Poettering2006-08-191-36/+140
| | | | | | This changes the file format of the table file. To avoid parse errors ~/.pulse/volume.table has been renamed to ~/.pulse/volume-restore.table git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1304 fefdeb5f-60dc-0310-8127-8f9354f1896f
* If a client leaves the sink/source for a stream unspecified by passing NULL asLennart Poettering2006-08-192-24/+31
| | | | | | | | | | sink/source name sink/source we should pass NULL to pa_sink_input_new()/pa_source_output_new() as too. This allows hooks to change the sink/source device only if it is left unspecified by the client git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1303 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a bad memory accessLennart Poettering2006-08-191-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1302 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoLennart Poettering2006-08-191-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1301 fefdeb5f-60dc-0310-8127-8f9354f1896f
* when transferring large memory chunks of a pa_pstream, split them upLennart Poettering2006-08-191-13/+29
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1300 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoLennart Poettering2006-08-191-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1299 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoLennart Poettering2006-08-191-3/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1298 fefdeb5f-60dc-0310-8127-8f9354f1896f
* check for posix_memalign and friendsLennart Poettering2006-08-191-6/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1297 fefdeb5f-60dc-0310-8127-8f9354f1896f
* if MAP_ANONYMOUS is not supported use posix_memalign if possible to allocate ↵Lennart Poettering2006-08-191-2/+19
| | | | | | the memory pool git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1296 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoLennart Poettering2006-08-191-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1295 fefdeb5f-60dc-0310-8127-8f9354f1896f
* print per-type memory block statistics on "stat"Lennart Poettering2006-08-191-1/+20
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1294 fefdeb5f-60dc-0310-8127-8f9354f1896f
* generate per-type memory block statisticsLennart Poettering2006-08-192-1/+22
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1293 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoLennart Poettering2006-08-191-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1292 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework the resample to allocate temporary memory with pa_memblock_new() ↵Lennart Poettering2006-08-191-25/+58
| | | | | | instead of pa_xrealloc() git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1291 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a memory leakLennart Poettering2006-08-191-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1290 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoLennart Poettering2006-08-191-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1289 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add --disable-shm command line option to the daemonLennart Poettering2006-08-191-2/+11
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1288 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add "disable-shm=" to default daemon configuration fileLennart Poettering2006-08-191-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1287 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new "disable-shm" server config optionLennart Poettering2006-08-193-16/+24
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1286 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add default "disable-shm" option to client.confLennart Poettering2006-08-191-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1285 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new "disable-shm" option to client.confLennart Poettering2006-08-193-2/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1284 fefdeb5f-60dc-0310-8127-8f9354f1896f
* allow importing of external shm data blocks unconditionally, even when local ↵Lennart Poettering2006-08-191-10/+4
| | | | | | SHM support is disabled git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1283 fefdeb5f-60dc-0310-8127-8f9354f1896f
* deal properly with pa_mempool_new() failingLennart Poettering2006-08-191-2/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1282 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix allocation of anonymous memoryLennart Poettering2006-08-191-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1281 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a memory leakLennart Poettering2006-08-191-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1280 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoLennart Poettering2006-08-181-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1279 fefdeb5f-60dc-0310-8127-8f9354f1896f
* enable SHM support on the client side only if both the client and the server ↵Lennart Poettering2006-08-182-8/+24
| | | | | | run as the same user and the server supports it git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1278 fefdeb5f-60dc-0310-8127-8f9354f1896f
* activate SHM support on the server side only when new client supports it and ↵Lennart Poettering2006-08-181-2/+23
| | | | | | when client and server have the same UID. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1277 fefdeb5f-60dc-0310-8127-8f9354f1896f
* one s/0/NULL/Lennart Poettering2006-08-181-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1276 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove export/import objects when SHM is disable for a pa_pstream objectLennart Poettering2006-08-181-5/+20
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1275 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new function pa_mempool_is_shared() to test whether a memory pool is ↵Lennart Poettering2006-08-182-0/+7
| | | | | | suitable for SHM data transfers git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1274 fefdeb5f-60dc-0310-8127-8f9354f1896f
* hide memblock-testLennart Poettering2006-08-180-0/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1273 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove all occurences of Lennart Poettering2006-08-1887-714/+714
| | | | | | | | | | | | pa_logXXX(__FILE__": and replace them by pa_logXXX(" git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1272 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework logging subsystem, to implicitly include __FILE__ in pa_log() calls. ↵Lennart Poettering2006-08-182-46/+84
| | | | | | In addition we now record the line numbers and function names of pa_log calls. However, those are only shown If $PULSE_LOG_META is set. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1271 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoLennart Poettering2006-08-181-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1270 fefdeb5f-60dc-0310-8127-8f9354f1896f
* look for shm_open in -lrtLennart Poettering2006-08-181-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1269 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new test memblock-test for testing SHM import/exportLennart Poettering2006-08-182-4/+177
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1268 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update tests for new memory managerLennart Poettering2006-08-182-8/+19
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1267 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Rework memory management to allow shared memory data transfer. The central ideaLennart Poettering2006-08-1845-293/+1216
| | | | | | | | | | | | | | | is to allocate all audio memory blocks from a per-process memory pool which is available as read-only SHM segment to other local processes. Then, instead of writing the actual audio data to the socket just write references to this shared memory pool. To work optimally all memory blocks should now be of type PA_MEMBLOCK_POOL or PA_MEMBLOCK_POOL_EXTERNAL. The function pa_memblock_new() now generates memory blocks of this type by default. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1266 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add abstracted shared memory APILennart Poettering2006-08-182-0/+266
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1265 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a bad type castLennart Poettering2006-08-181-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1264 fefdeb5f-60dc-0310-8127-8f9354f1896f
* cleanup hashmap.[ch] a little: use hash/compare func prototypes defined in ↵Lennart Poettering2006-08-182-11/+46
| | | | | | idxset.h, add pa_hashmpa_{get,steal}_first git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1263 fefdeb5f-60dc-0310-8127-8f9354f1896f