summaryrefslogtreecommitdiffstats
path: root/src/modules/module-loopback.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary #includesMaarten Bosmans2011-06-221-1/+0
|
* capture: Add the passthrough format negotiation to capture streams.Colin Guthrie2011-06-221-1/+1
| | | | | This helps to keep the API more symmetrical and also potentially allows support for passthrough monitor sources at some point in the future.
* loopback: Add a modarg for disabling remixing.Tanu Kaskinen2011-05-151-5/+13
|
* core: Add extended stream API to support compressed formatsArun Raghavan2011-05-021-1/+1
| | | | | | | | | | | | | | | This is the beginning of work to support compressed formats natively in PulseAudio. This adds a pa_stream_new_extended() that takes a format structure, sends it to the server (=> protocol extension) and has the server negotiate with the appropropriate sink to figure out what format it should use. This is work in progress, and works only with PCM streams. Actual compressed format support in some sink needs to be implemented, and extensive testing is required. More details on how this is supposed to work is available at: http://pulseaudio.org/wiki/PassthroughSupport
* 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