summaryrefslogtreecommitdiffstats
path: root/src/modules/module-loopback.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix up according to Coding StyleMaarten Bosmans2011-03-111-2/+2
| | | | Only whitespace changes in here
* Merge remote branch 'mkbosmans/rate-adjustment'Colin Guthrie2011-01-311-3/+16
|\
| * Limit rate adjustments to small, inaudible jumpsMaarten Bosmans2011-01-161-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The same logic is applied to the sample rate adjustments in module-rtp-recv, module-loopback and module-combine: - Each time an adjustment is made, the new rate can differ at most 2‰ from the old rate. Such a step is equal to 3.5 cents (a cent is 1/100th of a semitone) and as 5 cents is generally considered the smallest observable difference in pitch, this results in inaudible adjustments. - The sample rate of the stream can only differ from the rate of the corresponding sink by 25%. As these adjustments are meant to account for very small clock drifts, any large deviation from the base rate suggests something is seriously wrong. - If the calculated rate is within 20Hz of the base rate, set it to the base rate. This saves CPU because no resampling is necessary.
| * module-loopback: Add adjust_time to valid argsMaarten Bosmans2011-01-161-0/+1
| |
* | loopback: Add new arguments to disable stream moveCai Yuanqing2011-01-031-1/+26
|/ | | | | | | | | The arguments sink_dont_move and source_dont_move have been added to toggle module automatic unloading when the sink or source were no longer available, rather than just moving them to the next available sink/source (via rescue streams). Reviewed and tweaked by Colin Guthrie.
* module-loopback: Prevent an infinite loop when rate adjusting is disabledMaarten Lankhorst2010-12-121-1/+2
|
* loopback: Make stream names and roles configurable.Tanu Kaskinen2010-08-191-7/+34
|
* native: rework handling of seeks that depend on variables the client does ↵Lennart Poettering2010-02-091-2/+2
| | | | | | | | | | | | not know anything about All seeks/flushes that depend on the playback buffer read pointer cannot be accounted for properly in the client since it does not know the actual read pointer. Due to that the clients do not account for it at all. We need do the same on the server side. And we did, but a little bit too extreme. While we properly have not applied the changes to the "request" counter we still do have to apply it to the "missing" counter. This patch fixes that.
* loopback: Setting latency of module-loopbackTor-Björn Claesson2009-10-051-1/+1
| | | | | I checked the source code, and latency_msec is missing from the list of valid module arguments. Attaching a patch to add it.
* core: move 'flags' field into 'pa_sink_input_new_data' structure so that ↵Lennart Poettering2009-08-281-2/+3
| | | | hooks can access it
* loopback: quieten gcc on 32bitLennart Poettering2009-08-261-1/+1
|
* loopback: update description and icons when moving loopback streamsLennart Poettering2009-08-261-2/+52
|
* loopback: make sure a monitor can't be looped back to its sinkLennart Poettering2009-08-261-0/+27
|
* loopback: add loopback module for direct connections of sinks and sourcesLennart Poettering2009-08-261-0/+706