Commit graph

1120 commits

Author SHA1 Message Date
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
Lennart Poettering
d06f2eaf30 reserve: downgrade reserve logic messages, so that reusing pa in two sessions does not create spew in syslog 2009-09-28 19:54:37 -07:00
Colin Guthrie
c194db71b0 tunnel: fix parsing of source info from newer servers 2009-09-20 21:36:14 +01:00
Emil Renner Berthing
592345fd36 tunnel: fix parsing of sink info from newer servers 2009-09-20 21:28:49 +01:00
Colin Guthrie
cc6932c4c8 stream-restore: Comment fix 2009-09-20 18:51:20 +01:00
Lennart Poettering
88b777311d alsa: make build gcc clean on 32bit 2009-09-20 03:17:36 +02:00
Lennart Poettering
56e1290ef6 gconf: run the wrapper script when running gconf-helper from build tree 2009-09-18 23:31:54 +02:00
Colin Guthrie
fd25e8fa8b alsa: Give all ports a human name to allow UI tools to present the choice to users. 2009-09-18 09:22:23 +01:00
Colin Guthrie
0323e48fdc rtp: Remove 'fix me' comment after it was actually fixed in [56b6e1]
That's what you get for applying your stash without fully checking if anything else was committed in the mean time :p
2009-09-18 09:18:13 +01:00
Lennart Poettering
a37e48a819 alsa: fix Surround mixer element name
s/Sourround/Surround/

Spotted by Colin Guthrie
2009-09-18 04:14:36 +02:00
Colin Guthrie
56b6e18030 rtp: Factor out direct io writing and use ioline instead.
This is how things should have worked orinally, but I obviously misunderstood things a bit.
This seems to prevent the random hangups that were happening previously :)
2009-09-18 00:22:01 +01:00
Colin Guthrie
94d20a59fa raop: Use pa_module_unload_request_by_index as per module-zeroconf-discover 2009-09-18 00:22:01 +01:00
Lennart Poettering
3de5c49e42 cli: properly destruct cli object 2009-09-17 04:04:54 +02:00
Lennart Poettering
b4d4f2b856 cli: don't accidentaly set O_NDELAY on stderr
Loading module-cli could have the effect of setting O_NDELAY on stderr,
because it was just a dup'ed fd of stdin which module-cli sets O_NDELAY
for and which flag is shared between all dupes.

Instead of using stdin/stdout directly we now open a new file descriptor
for the controlling terminal, which is equally useful as stdin/stdout
but gives a new file that does not share O_NDELAY with stdin/stdout.

This solves a problem where when running pulseaudio -C resulted in
log output being truncated since stdio does not really handle O_NDELAY
that well in on its fds.
2009-09-17 03:59:25 +02:00
Lennart Poettering
add4cbf2f3 position-event-sounds: don't warn that loud about vpos/hpos out of range 2009-09-17 02:04:59 +02:00
Vladimir Kokarev
e63c867f87 alsa: correct assumptions about channels an element lacks
If an element does not control some channels assume they are 0dB in
comparison to the other elements, i.e. do not influence the volume at
all. Previously we were assuming they were as high as the highest of the
channels we do control.
2009-09-17 01:26:18 +02:00
Lennart Poettering
180ef1eebd position-event-sounds: apply volume factor after, not before resampling 2009-09-11 03:27:38 +02:00
Lennart Poettering
6fa2445e11 position-event-sounds: honour window position if set, position both vertically and horizontally 2009-09-11 02:32:21 +02:00
Lennart Poettering
80b4457476 alsa: properly report suspension error codes 2009-09-11 01:22:10 +02:00
Lennart Poettering
bb36bb4bbe alsa: properly convert sample buffer sizes 2009-09-11 01:21:46 +02:00
Lennart Poettering
d5f43bd4c6 alsa: disable tsched for software devices before we configure the buffer metrics so that we don't accidently set a buffer size that is suitable for tsched where we don't use tsched 2009-09-09 23:57:49 +02:00
Lennart Poettering
8364b959b4 alsa: when probing for profiles configure buffer/period sizes since some broken drivers apparently need that 2009-09-09 23:56:51 +02:00