Commit graph

44 commits

Author SHA1 Message Date
Maarten Bosmans
26366664c1 Update PA_MODULE_USAGE to be in line with actual implementation 2011-03-18 12:07:02 +00:00
Tanu Kaskinen
969c7c80fe core: Link virtual sinks and sources to their streams.
This change doesn't add any functionality in itself, but it will be useful in
the future for operating on chains of sinks or sources that are piggy-backing
on each other.

For example, the PA_PROP_DEVICE_MASTER_DEVICE property could
be handled in the core so that each virtual device doesn't have to maintain it
separately. By using the origin_sink and destination_source pointers the core
is able to see at stream creation time that the stream is created by a virtual
device, and then update that device's property list using the name of the
master device that the stream is being connected to. The same thing can be done
also when the stream is being moved from a device to another, in which case the
_MASTER_DEVICE property needs updating.
2011-02-22 10:10:48 +00:00
Lennart Poettering
066e626401 equalizer: various smaller cleanups for m-e-s 2010-02-25 00:39:06 +01:00
Jason Newton
493d8b2fb7 module-equalizer-sink: add latency of output_q and input_q to get latency calculation 2009-11-20 06:34:46 -08:00
Jason Newton
1178f61280 module-equalizer-sink: switch back to reference dsp implementation - cpu usage doesn't really change and there may be
a bug in the vectorized version
2009-11-20 06:34:46 -08:00
Jason Newton
c6c933b4ec module-equalizer-sink: (re)added output memblockq commented out timing debug statements 2009-11-20 06:34:46 -08:00
Jason Newton
d83dd5ba13 module-equalizer-sink:
add premultipliar to sse2 dsp_logic implementation
2009-10-29 19:10:16 -07:00
Jason Newton
ebaca56a75 module-equalizer-sink: try to limit buffering to mempool's max_block_size and disable debug output 2009-10-29 18:49:10 -07:00
Jason Newton
5c82dd67d0 drop redundant alloc call 2009-10-29 18:49:10 -07:00
Jason Newton
d25b9eab0f module-equalizer-sink: drop source executable permissions configure.ac: add enable/disable + summary line for fftw 2009-10-19 18:34:38 -07:00
Jason Newton
8f2289c563 module-equalizer-sink:
*fixed SSE2 optimized dsp logic (default if available)
    *cleaned up whitespace formatting (again)
2009-10-18 15:08:05 -07:00
Jason Newton
781eb594bb module-equalizer-sink: fixed equalizer state save/restore 2009-10-18 14:58:43 -07:00
Jason Newton
e895200169 module-equalizer-sink: disable active profile name restoration as something in pack/unpack is funky and I don't have time for a
proper fix
2009-10-02 02:14:56 -07:00
Jason Newton
97056d2a0e module-equalizer-sink: *added client initiated sync support for filter state *added note of possible unstable behavior with next-power-of-2 sample rate calculation 2009-10-02 02:14:56 -07:00
Jason Newton
a434f4c6af module-equalizer-sink: resyncing with head and fix invalid writes
* pa_log->debug for default equalizer notification
    * partially fixed infinite rewind bug
    * set max_request to window_size first iteration
    * swap order inside ROUND_UP calls
    * resync pa_sink_input_new changes
    * change pa_sample_clamp parameters to be correct to fix invalid writes
    * reenable proper reset logic + proper request size
2009-10-02 02:14:20 -07:00
Jason Newton
3053badf06 module-equalizer-sink: resync with ladspa parent sink 2009-09-29 23:50:54 -07:00
Jason Newton
263b683437 module-equalizer-sink: fix improper usage of pa_modargs_get_value_boolean for u->set_default 2009-09-29 23:50:54 -07:00
Jason Newton
f5ceed8151 module-equalizer-sink: added server side persistance of profile names 2009-09-29 23:50:54 -07:00
Jason Newton
b028e4e917 module-equalizer-sink: per-channel filtering support + profiles, easier default configuration 2009-09-29 23:50:54 -07:00
Jason Newton
2f6fd32cc5 module-equalizer-sink: fixed a bug w/ new zero-latency input scheme (that was an interesting/cool bug!) 2009-09-29 23:50:54 -07:00
Jason Newton
735c8ab6fb module-equalizer-sink: added support for preamp 2009-09-29 23:50:54 -07:00
Jason Newton
cd54ecdc8c module-equalizer-sink: drop old macros for new library based ones 2009-09-29 23:50:54 -07:00
Jason Newton
ab0e20ab2c module-equalizer-sink: fixed timeval initialization 2009-09-29 23:50:54 -07:00
Jason Newton
7bd7ce6dec module-equalizer-sink.c: swapped order of attach_within_thread and set_max_request within sink_input_attach_cb 2009-09-29 23:50:54 -07:00
Jason Newton
07cd6a4c3d module-equalizer-sink.c
i->sink -> i in pa_get_sink_max_request*
2009-09-29 23:50:53 -07:00
Jason Newton
1c1a812b32 module-equalizer-sink
exchanged improper usage of memblockq_peek'd memchunk for silence block
    dropped unneeded function prototypes
    changed mround to be slightly more elegant
    __restrict__ -> restrict for c99
    removed unneeded pa_aupdate_swap calls
    first_iteration -> pa_bool_t
    cleaned up some usage of pa_malloc0 where pa_new0 was more appropriate
    cruft removal, whitespace fixes and reordering of variables
2009-09-29 23:50:53 -07:00
Jason Newton
0e6711ddd0 module-equalizer-sink:
merging in upstream changes
    whitespace fix and fix for first iteration un-windowing
2009-09-29 23:50:53 -07:00
Jason Newton
38d608ad5a module-equalizer-sink:
reworked processing so we don't have input->output delay of R samples
2009-09-29 23:50:53 -07:00
Jason Newton
8c2f9763df module-equalizer-sink:
fix for peek returning a null memblock
    pa_log -> pa_log_debug for fft size
    updated module description
    fixed a comment in dbus error for incorrect x positions
2009-09-29 23:50:53 -07:00
Jason Newton
684ad6ddb7 module-equalizer-sink:
proper fix for pa_xmalloc(0) given that 0 is illegal
    fix coefficients in case there's no resume state
    loadprofile now signals filterchanged
2009-09-29 23:50:53 -07:00
Jason Newton
1e3c7d326f module-equalizer-sink:
dbus:
        eliminated some redundant code in dbus handlers/getall
        switched filter back to being a property
        signals for changed profiles, added/removed sinks, filter updates and sink reconfigurations
    fixed timing routines
2009-09-29 23:50:53 -07:00
Jason Newton
4231ac444f module-equalizer-sink: reverted buffering logic back to how the ladspa sink did it 2009-09-29 23:50:53 -07:00
Jason Newton
857eea0621 module-equalizer-sink:
add lennard's fix for piggy-back sinks in pop_cb
    fixed some tsched issues
2009-09-29 23:50:53 -07:00
Jason Newton
144f1c4f31 module-equalizer-sink:
dbus properties and manager so that multiple sinks can be loaded and mixers can be equalizer-sink aware
    functionality to seed new filters quickly (rteq guis)
    profile support
    extra checking in client->server dbus messages
2009-09-29 23:50:53 -07:00
Jason Newton
66a6cc693b module-equalizer-sink:
added support for suspend/resume of filter coefficients
    unregister the correct dbus interface.
    made equalizer state file sink index dependent
    expanded dbus properties
    whitespace
2009-09-29 23:50:53 -07:00
Jason Newton
8934c314f6 module-equalizer-sink:
added dbus support
    removed cruft from inherited from ladspa module and improved clarity
    switched dsp processing to reference implementation until project is more mature
    tsched=0 seems to help with the micro-dropouts/crackling! oh my!
    reformatting/spaces
2009-09-29 23:50:53 -07:00
Jason Newton
c7fcc9cc01 module-equalizer-sink:
removed liboil
    added sse2 optimized dsp logic implementation
    cleaned up a bit
2009-09-29 23:50:53 -07:00
Jason Newton
702480a883 module-equalizer-sink:
first commit of a working state (cpu speed dependant)
    added noop processing for filter debugability
2009-09-29 23:50:53 -07:00
Jason Newton
09d9096069 module-equalizer-sink: simplified sink_input pop callback and introduced new variables that simplify different strategies. 2009-09-29 23:50:52 -07:00
Jason Newton
cf8331a0da module-equalizer-sink: trying new buffering strategies 2009-09-29 23:50:52 -07:00
Jason Newton
d4fe5bfce9 module-equalizer-sink: attempt different buffering strategy 2009-09-29 23:50:52 -07:00
Jason Newton
182c9c7dcb module-equalizer-sink: added more assertions to aid in debugging 2009-09-29 23:50:52 -07:00
Jason Newton
2e119060cb module-equalizer-sink:
added temporary debugging output to track filter output
    removed dead code
    only a small amount of crackling remains
2009-09-29 23:50:52 -07:00
Jason Newton
431555030e module-equalizer-sink added
src/Makefile.am: added module-equalizer-sink
2009-09-29 23:50:52 -07:00