]> code.delx.au - pulseaudio/commit
Modify smoothing code to make cubic interpolation optional and allow 'quick fixups...
authorLennart Poettering <lennart@poettering.net>
Sun, 5 Apr 2009 00:26:02 +0000 (02:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 5 Apr 2009 00:26:02 +0000 (02:26 +0200)
commitd035f4a3f3e73fd67d69a03c03adc9a08f30ef21
tree52316988c7bcbd495ba4a53a337f7c9b3c813286
parent1c26d7e174ba54c062c0ae50d33bf4e819bb15ba
Modify smoothing code to make cubic interpolation optional and allow 'quick 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.
12 files changed:
src/modules/alsa/alsa-sink.c
src/modules/alsa/alsa-source.c
src/modules/bluetooth/module-bluetooth-device.c
src/modules/module-combine.c
src/modules/module-esound-sink.c
src/modules/module-raop-sink.c
src/modules/module-tunnel.c
src/modules/rtp/module-rtp-recv.c
src/pulse/stream.c
src/pulsecore/time-smoother.c
src/pulsecore/time-smoother.h
src/tests/smoother-test.c