summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Update module-bluetooth-device to the new ipc.Luiz Augusto von Dentz2008-12-223-172/+217
|
* Implement PA_SOURCE_MESSAGE_GET_LATENCYLennart Poettering2008-12-211-0/+30
| | | | | | | The pipe source needs to implement PA_SOURCE_MESSAGE_GET_LATENCY since we'll otherwise hit an assert. Closes #424.
* Use FIONREAD instead of TIOCINQLennart Poettering2008-12-211-2/+2
| | | | | | | On Linux the two ioctls FIONREAD and TIOCINQ share the same number. However TIOCINQ is used for terminals while FIONREAD is used (among others) for sockets and pipes. Hence use FIONREAD here since it seems more appropriate.
* downgrade a few warningsLennart Poettering2008-12-171-4/+4
|
* it's better to always use the index of a module instead of the pa_module*Lennart Poettering2008-12-171-13/+15
|
* unload tunnel modules from a new stack frameLennart Poettering2008-12-171-2/+2
|
* actually unload the modules from a new stack frameLennart Poettering2008-12-171-1/+1
|
* Don't store pointer to pa_moduleLennart Poettering2008-12-171-3/+3
| | | | | pa_module pointers might become invalid at any time, so we use the stable uin32_t index of the module for identifying or modules instead.
* Fix bug walking on module list.Luiz Augusto von Dentz2008-12-171-1/+1
|
* Pass GDBM_NOLOCK to gdbmLennart Poettering2008-12-172-2/+2
| | | | | | | | | | gdbm still uses BSD lockf for locking which is incompatible with NFS. Since we don't need the locking here since the db files in question should never be accessed by more than one process since they are per-home-dir and per-machine we can disable locking without any ill results. This should fix rhbz #471279.
* Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTEDLennart Poettering2008-10-262-11/+11
|
* warn if ALSA wakes us up and there is actually nothing to doLennart Poettering2008-10-223-22/+66
|
* Try to catch certain driver errorsLennart Poettering2008-10-214-6/+69
| | | | | ... by verifying return values of snd_pcm_avail_update() and snd_pcm_begin_mmap() for their sanenness.
* fix arguments to format stringLennart Poettering2008-10-211-1/+1
|
* implement may_move_to for ladspa/remap sinksLennart Poettering2008-10-212-0/+22
|
* Merge commit 'vudentz/master'Lennart Poettering2008-10-131-1/+1
|\
| * Fix possible invalid read while attempting to load module-bluetooth-device.Luiz Augusto von Dentz2008-10-091-1/+1
| |
* | Fix two typos that broke tunnelsColin Guthrie2008-10-131-2/+2
| | | | | | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* | properly remove dbus matches an filters when unloading m-b-dLennart Poettering2008-10-131-1/+16
|/
* Merge commit 'coling/airtunes-0.9.13'Lennart Poettering2008-10-0810-0/+2669
|\
| * Follow master change r34dd4a and fix shutdown when ↵Colin Guthrie2008-10-082-5/+5
| | | | | | | | --disallow-module-loading=1 is passed
| * Modularise the RAOP stuff that requires OpenSSL and make it optional at ↵Colin Guthrie2008-10-084-0/+0
| | | | | | | | compile time
| * Remove $Id$ lines left over from SVNColin Guthrie2008-10-088-16/+0
| |
| * Make module-raop-sink/discover work with 0.9.11 APIColin Guthrie2008-10-082-24/+30
| |
| * Implement hardware volume control.Colin Guthrie2008-10-081-3/+72
| | | | | | | | This allows near instant change of volume when controlling the hardware but the stream volume still suffers from a sizable delay.
| * Implement a set volume function to expose this capability to higher layersColin Guthrie2008-10-082-0/+25
| |
| * Use the new pa_namereg_make_valid_name() function.Colin Guthrie2008-10-081-6/+7
| |
| * Add Lennart back in to Copyright as I copied these files from his originals ↵Colin Guthrie2008-10-082-0/+2
| | | | | | | | | | | | and was a bit overzealous in changing things ;) git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2520 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Automatic discovery of airtunes devices via Bonjour/Avahi.Colin Guthrie2008-10-081-0/+380
| | | | | | | | | | | | | | This also does some minor reordering in the Makefile.am Refs #69 git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2519 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Minor correction of help textColin Guthrie2008-10-081-1/+1
| | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2518 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Still send silence when we are not doing anything else, but also flush the ↵Colin Guthrie2008-10-081-29/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | buffers correctly upon recovery from suspension. Close the RTP socket correctly after passing messages about. When not sending silence, the RTSP socket will be closed after some period of inactivity. I'm not sure why this is. Sending silence keeps things working and with the flushes after suspension we now get a better latency. As this relies on the auto-suspend feature, it's not exactly ideal. Typical latencies are currently about 3s which makes it more or less usuable for listening to music. If the connection is disconnected, it will reconnect but I've found that the second connection is silent. Hopefully the silence will prevent the first connection dropping. Refs #69 git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2504 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Add some new public API functions to connect and flush.Colin Guthrie2008-10-082-20/+56
| | | | | | | | | | | | | | | | | | This allows us to reconnect upon disconnection but this has thus far proved unreliable. We no longer close the socket. We leave this to the module thread to do the closing. We can also flush the remote buffer now. Refs #69 git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2503 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Change the API of the RTSP client a bit.Colin Guthrie2008-10-082-74/+87
| | | | | | | | | | | | | | | | * Store the mainloop, hostname and port internally on construction * This should allow use to easily reconnect if disconnected although this has thus far proved unreliable. The changes look like more than they are due to moving a function around. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2502 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Remove unneeded headers accidentially added in r2500.Colin Guthrie2008-10-081-2/+0
| | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2501 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Add seq and rtptime params to record/flush with a view to using these for ↵Colin Guthrie2008-10-083-9/+21
| | | | | | | | | | | | timing and device suspension git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2500 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Minor update to copywrite (I still plan to replace this completely but in ↵Colin Guthrie2008-10-081-1/+2
| | | | | | | | | | | | the mean time....) git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2499 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Fix up a couple of values related to encoding overhead.Colin Guthrie2008-10-081-2/+2
| | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2497 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * A few related changes:Colin Guthrie2008-10-082-36/+59
| | | | | | | | | | | | | | | | | | | | * Change the encode_sample routine to simply return normal memchunks allocated from the mempool. * unref the memchunks returned from encode_sample when we are done with them. * Create an encoded 'silence' sample and play this at all times to prevent hangup and to 'hog' the airtunes device This now works and can be used as a regular sink albeit with a constant latency of about 8 seconds :s git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2485 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Keep track of the memblock pointer internally and do not rely on subsequent ↵Colin Guthrie2008-10-081-6/+6
| | | | | | | | | | | | calls to pass it back in for unref'ing git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2484 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Set forgotten keyword propertyColin Guthrie2008-10-081-1/+1
| | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2483 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Set the send buffer size to prevent rendering silence in amongst our good ↵Colin Guthrie2008-10-081-0/+1
| | | | | | | | | | | | data (this should be more sophisticated but that can wait for a glitch-free port) git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2482 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Move the encoding loop around a bit such that it does not grab the data and ↵Colin Guthrie2008-10-081-10/+12
| | | | | | | | | | | | keep it for the next loop iteration. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2481 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Do tidy up on disconnection.Colin Guthrie2008-10-082-1/+11
| | | | | | | | | | | | Only clear IO related stuff if this free() was triggered deliberatly (i.e. not by server side disconnect) git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2411 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Do not prefix internal function rtsp_exec.Colin Guthrie2008-10-081-12/+9
| | | | | | | | | | | | | | Change port to be 16 bits Do not free stuff on closure as this happens further up the stack. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2410 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Don't try to free stack variables.Colin Guthrie2008-10-081-6/+0
| | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2409 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * unref the raw data memblock before requesting more data.Colin Guthrie2008-10-081-0/+4
| | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2408 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Some misc fixes. consts, base64 optimisation (not that it will be with us ↵Colin Guthrie2008-10-083-14/+14
| | | | | | | | | | | | long anyway), and c comments git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2407 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Fix up IPv6 address format to enclose it in []Colin Guthrie2008-10-081-4/+6
| | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2406 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Change suggested by Lennart. Do not return a memchunk, instead pass in the ↵Colin Guthrie2008-10-083-18/+19
| | | | | | | | | | | | pointer. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2405 fefdeb5f-60dc-0310-8127-8f9354f1896f
| * Various changes suggested by Lennart.Colin Guthrie2008-10-083-17/+17
| | | | | | | | | | | | | | Store the core* rather than just the mainloop as we can reuse the mempool without passing it in as an argument. const'ify and deconst'ify some vars git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2404 fefdeb5f-60dc-0310-8127-8f9354f1896f