summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* we don't want to include assert.h anymoreLennart Poettering2007-10-293-3/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1986 fefdeb5f-60dc-0310-8127-8f9354f1896f
* reverse server order for PULSE_SERVER x11 property, to follow order in which ↵Lennart Poettering2007-10-291-1/+3
| | | | | | modules are loaded git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1985 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new module module-zeroconf-discoverLennart Poettering2007-10-291-0/+338
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1983 fefdeb5f-60dc-0310-8127-8f9354f1896f
* publish dns-sd subtypes to allow distinction of virtual, hardware and ↵Lennart Poettering2007-10-291-7/+65
| | | | | | monitor sinks/source git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1982 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fail on name clashLennart Poettering2007-10-291-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1980 fefdeb5f-60dc-0310-8127-8f9354f1896f
* bring back module-tunnel, yay!Lennart Poettering2007-10-291-388/+589
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1979 fefdeb5f-60dc-0310-8127-8f9354f1896f
* downgrade a few log messagesLennart Poettering2007-10-291-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1978 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make use of new pa_readlink() where applicableLennart Poettering2007-10-291-11/+21
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1975 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge 'lennart' branch back into trunk.Lennart Poettering2007-10-2848-4661/+9324
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Corrected a bogus comment.Tanu Kaskinen2007-08-241-2/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1716 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Modified the JACK sink heavily:Tanu Kaskinen2007-08-201-241/+716
| | | | | | | | | | | | | | | * Made the sink realtime-safe. * To achieve the previous item, internal buffering was be added. New module argument: buffersize. * Removed the user's need to set the JACK transport to playing state before he could hear anything from PulseAudio. * In process of achieving the previous item, latency calculation got more inaccurate: the reported latency is now always a multiple of the JACK processing block size, and constant. * The JACK ports now have a running numbering in their names. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1680 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Kill spaces on EOLLennart Poettering2007-05-2912-161/+161
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1465 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix another DoS vulnerability that has been identified by Luigi Auriemma. ↵Lennart Poettering2007-05-231-3/+0
| | | | | | (Finally closes #67) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1452 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a missing initialization that causes a crash when parsing invalid volume ↵Lennart Poettering2007-05-231-0/+1
| | | | | | restoration tables (Problem identified by Luigi Auriemma, re #67) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1451 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix module-oss for devices that return EAGAIN when we don't expect it. ↵Lennart Poettering2007-05-231-3/+10
| | | | | | (Closes #66) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1442 fefdeb5f-60dc-0310-8127-8f9354f1896f
* show socket directory when we fail to create it. (Closes #85)Lennart Poettering2007-05-221-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1441 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix build and only load OSS xor ALSA modules if both are availableLennart Poettering2007-05-221-5/+29
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1440 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Don't fail if hal doesn't currently contain any devices. (closes #55)Pierre Ossman2007-03-061-8/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1434 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Handle suspended alsa devices. Based on patch by ranma. (closes #26)Pierre Ossman2007-03-022-0/+77
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1433 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Handle when ALSA tweaks our sample spec so much that the frame size changes.Pierre Ossman2007-03-011-1/+8
| | | | | | | (closes #57). git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1431 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add copyright notices to all relevant files. (based on svn log)Pierre Ossman2007-02-1346-0/+108
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1426 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Allow specification of device number.Pierre Ossman2007-02-121-3/+12
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1424 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Huge trailing whitespace cleanup. Let's keep the tree pure from here on,Pierre Ossman2007-01-0436-668/+668
| | | | | | | mmmkay? git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1418 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Revert r1404 and keep it on a development branch until it is fully tested.Pierre Ossman2006-11-0611-94/+35
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1409 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework memory block management to be thread-safe and mostly lock-free.Lennart Poettering2006-09-2611-35/+94
| | | | | | | | | | | | | | | | | | | | | pa_memblock is now an opaque structure. Access to its fields is now done through various accessor functions in a thread-safe manner. pa_memblock_acquire() and pa_memblock_release() are now used to access the attached audio data. Why? To allow safe manipulation of the memory pointer maintained by the memory block. Internally _acquire() and _release() maintain a reference counter. Please do not confuse this reference counter whith the one maintained by pa_memblock_ref()/_unref()! As a side effect this patch removes all direct usages of AO_t and replaces it with pa_atomic_xxx based code. This stuff needs some serious testing love. Especially if threads are actively used. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1404 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add missing g_type_init()Lennart Poettering2006-09-021-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1367 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Merge FreeBSD compatibility patch (from Flameeyes)Lennart Poettering2006-09-021-0/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1359 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a race condition with stream connection vs. latency measuremtn (found by ↵Lennart Poettering2006-09-011-17/+19
| | | | | | theBear) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1355 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix module-combine when used on top of a tunnel sinkLennart Poettering2006-08-262-5/+22
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1333 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update module-tunnel to latest protocolLennart Poettering2006-08-251-16/+51
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1332 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix handling of "mtu" module argument (patch by "theBear")Lennart Poettering2006-08-231-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1329 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make the recording a bit more chunky so that we can fit in the pool and havePierre Ossman2006-08-231-1/+13
| | | | | | | efficient blocks. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1327 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Remove silence generation in solaris module.Pierre Ossman2006-08-221-29/+26
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1326 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Remove silence generation in waveout module.Pierre Ossman2006-08-221-50/+33
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1325 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix memory leak in waveout module.Pierre Ossman2006-08-221-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1323 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Log when there is a problem opening the waveOut/waveIn device.Pierre Ossman2006-08-221-3/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1322 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix detection of shared memory support and proper fallback.Pierre Ossman2006-08-221-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1316 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix typo.Pierre Ossman2006-08-221-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1315 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add missing header.Pierre Ossman2006-08-221-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1314 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix call to pa_memblock_new().Pierre Ossman2006-08-221-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1313 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
* 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
* 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
* remove all occurences of Lennart Poettering2006-08-1839-410/+410
| | | | | | | | | | | | 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 memory management to allow shared memory data transfer. The central ideaLennart Poettering2006-08-1813-24/+21
| | | | | | | | | | | | | | | 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
* use the description field of sinks/sources to name the zeroconf services, ↵Lennart Poettering2006-08-151-5/+5
| | | | | | instead of the logical name git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1257 fefdeb5f-60dc-0310-8127-8f9354f1896f
* extend module-rescue-streams to move also source outputs when a source diesLennart Poettering2006-08-131-4/+55
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1254 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a segfault when registering a service with avahi failsLennart Poettering2006-08-131-9/+22
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1253 fefdeb5f-60dc-0310-8127-8f9354f1896f