summaryrefslogtreecommitdiffstats
path: root/src/modules/module-tunnel.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary #includesMaarten Bosmans2011-06-221-2/+0
|
* module-tunnel: Update for recent protocol changesArun Raghavan2011-05-151-0/+59
| | | | | | | | | This updates the tunnel module for protocol version >= 19. module-tunnel-sink does not proxy server-side passthrough support (yet). This would require a few more changes, namely keeping track of what formats are available and if any other sink inputs are connected on the server-side.
* tunnel: Remove bogus `{`Paul Menzel2011-03-201-2/+2
| | | | | | | | | | | | | Fix mistakes in: commit 36e7f8a92e8b340dd4034a39a655ba93bcd41886 Author: Colin Guthrie <cguthrie@mandriva.org> Date: Sun Mar 20 14:09:14 2011 +0000 tunnel: Fix tunnel streams with recent servers Prompted by bug #750. Thanks to Emil Renner Berthing for the original patch.
* tunnel: Fix tunnel streams with recent serversColin Guthrie2011-03-201-0/+8
| | | | | Prompted by bug #750. Thanks to Emil Renner Berthing for the original patch.
* Fix up some double spacesMaarten Bosmans2011-03-181-2/+2
|
* Fix up according to Coding StyleMaarten Bosmans2011-03-111-3/+2
| | | | Only whitespace changes in here
* tunnel: Fix automatic names when source/sink_name argument is missing.Colin Guthrie2011-01-161-2/+2
| | | | Spotted by palmerdabbelt via #894
* thread: name all threads so that the names appear in /proc/$PID/task/$TID/commLennart Poettering2010-05-071-1/+1
|
* tunnel: fix parsing of source info from newer serversColin Guthrie2009-09-201-2/+29
|
* tunnel: fix parsing of sink info from newer serversEmil Renner Berthing2009-09-201-0/+27
|
* llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixesLennart Poettering2009-09-081-9/+6
|
* sink: volume handling rework, new flat volume logicLennart Poettering2009-08-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | - We now implement a logic where the sink maintains two distinct volumes: the 'reference' volume which is shown to the users, and the 'real' volume, which is configured to the hardware. The latter is configured to the max of all streams. Volume changes on sinks are propagated back to the streams proportional to the reference volume change. Volume changes on sink inputs are forwarded to the sink by 'pushing' the volume if necessary. This renames the old 'virtual_volume' to 'real_volume'. The 'reference_volume' is now the one exposed to users. By this logic the sink volume visible to the user, will always be the "upper" boundary for everything that is played. Saved/restored stream volumes are measured relative to this boundary, the factor here is always < 1.0. - introduce accuracy for sink volumes, similar to the accuracy we already have for source volumes. - other cleanups.
* core: save volume/mute changes coming from the hardware automaticallyLennart Poettering2009-08-071-2/+2
| | | | | Volume changes coming from the lower layers are most likely changes triggered by the user, so let's save them automatically.
* tunnel: don't assert on misaligned reads, closes #597 and rhbz #496310Lennart Poettering2009-07-311-4/+22
|
* Merge most of elmarco/rtclock2Lennart Poettering2009-06-221-19/+14
|\ | | | | | | Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043'
| * Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
| * pulse: move pa_rtclock_now in pulsecommonMarc-André Lureau2009-06-201-1/+2
| |
| * perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'`Marc-André Lureau2009-06-191-6/+6
| |
* | core: get rid of rt sig/timer handling since modern Linux' ppooll() is ↵Lennart Poettering2009-06-191-1/+0
|/ | | | finally fixed for granularity
* alsa: rework mixer logicLennart Poettering2009-06-171-4/+4
| | | | | | | | | | | | Completely rework mixer logic. This now allows controlling a full set of elements from a single sink's volume slider/mute button. This also introduces sink and source "ports" that can be used to choose different input or output ports with the UI. (i.e. "mic"/"line-in" or "speaker"/"headphones". The mixer paths and device maps are now configered in external configuration files and can be tweaked as necessary.
* modules: add {sink|source|card}_properties argument to all modulesLennart Poettering2009-05-281-2/+18
|
* Modify smoothing code to make cubic interpolation optional and allow 'quick ↵Lennart Poettering2009-04-051-4/+9
| | | | | | | | | | | | | | | fixups' on resuming The primary reason for this change is to allow time graphs that do not go through the origin and hence smoothing starting from the origin is not desired. This change will allow passing time data into the smoother while paused and then abruptly use that data without smoothing using the 'quick fixup' flag when resuming. Primary use case is allowing recording time graphs where the data recorded originates from a time before the stream was created. The resulting graft will be shifted and should not be smoothened to go through the origin.
* fix buffer defaultsLennart Poettering2009-03-311-3/+3
|
* handle buffer_attr changed messages properlyLennart Poettering2009-03-311-1/+49
|
* rework tunneling codeLennart Poettering2009-03-301-58/+129
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* introduce default channel map in addition to the default sample specLennart Poettering2009-02-211-0/+1
|
* make gcc 4.4 shut upLennart Poettering2009-02-121-1/+1
|
* move flat volume logic into the core. while doing so add n_volume_steps ↵Lennart Poettering2009-01-271-10/+6
| | | | field to sinks/sources
* include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut upLennart Poettering2009-01-221-0/+2
|
* Fix two typos that broke tunnelsColin Guthrie2008-10-131-2/+2
| | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* update module-tunnel for recent protocol changesLennart Poettering2008-10-051-1/+8
|
* add a few more gcc warning flags and fix quite a few problems found by doing soLennart Poettering2008-08-191-18/+18
|
* fix shutdown when --disallow-module-loading=1 is passedLennart Poettering2008-08-051-15/+15
|
* make all protocol objects global singletonsLennart Poettering2008-08-031-37/+7
|
* forward process_msg calls to the generic source handler, not the generic ↵Lennart Poettering2008-07-161-1/+1
| | | | sink handler
* make sure to call process_rewind() under all circumstances before we do the ↵Lennart Poettering2008-06-261-0/+6
| | | | next loop iteration
* Rework module-combine to work with glitch-free core; add new max_request ↵Lennart Poettering2008-06-201-3/+3
| | | | field to pa_sink
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* bring module-tunnel back to lifeLennart Poettering2008-06-171-178/+578
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2546 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-34/+56
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge r2186 from prepare-0.9.10Lennart Poettering2008-03-311-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2202 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Implement opcodes in the tunnel modules that were added in version 12 ofSjoerd Simons2008-01-041-0/+40
| | | | | | | the protocol. Based on a patch by coling. (fixes #193) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2096 fefdeb5f-60dc-0310-8127-8f9354f1896f
* tag modules that may only be loaded once at most especially, and enforce ↵Lennart Poettering2007-11-091-6/+7
| | | | | | that in the module loader git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2043 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rename stream names too, when the sink name changesLennart Poettering2007-10-301-9/+28
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1997 fefdeb5f-60dc-0310-8127-8f9354f1896f
* ignore updates not relevant to usLennart Poettering2007-10-301-0/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1996 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework the tunnel naming scheme, and make it follow the description changes ↵Lennart Poettering2007-10-301-29/+231
| | | | | | of the underlying devices; never check for tagstruct eof, to ease later extensions git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1995 fefdeb5f-60dc-0310-8127-8f9354f1896f
* initialize userdata struct with 0Lennart Poettering2007-10-301-5/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1994 fefdeb5f-60dc-0310-8127-8f9354f1896f
* don't try to send pause request before our stream is properly set upLennart Poettering2007-10-291-2/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1989 fefdeb5f-60dc-0310-8127-8f9354f1896f
* ignore network sinks/sourcesLennart Poettering2007-10-291-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1988 fefdeb5f-60dc-0310-8127-8f9354f1896f