[pulseaudio-discuss] [PATCH 0/4] volume ramping
These patches bring the volume ramping feature that has not been applied to upstream. This topic was also mentioned a few weeks ago. : https://lists.freedesktop.org/archives/pulseaudio-discuss/2016-June/026459.html The original patches are at below. : https://lists.freedesktop.org/archives/pulseaudio-discuss/2012-August/014351.html Here are resubmitting patches without client API part as we discussed on IRC before. Please note that these are from tizen project, because it seems more refined than the above original patches. Jaska Uimonen (3): volume ramp: additions to the low level infra volume ramp: adding volume ramping to sink-input volume ramp: add volume ramping to sink Sangchul Lee (1): sink,sink-input: Code cleanup regarding volume ramping src/map-file | 4 + src/pulse/def.h| 13 +- src/pulse/volume.c | 74 ++- src/pulse/volume.h | 33 + src/pulsecore/mix.c| 310 + src/pulsecore/mix.h| 27 src/pulsecore/sink-input.c | 57 + src/pulsecore/sink-input.h | 12 +- src/pulsecore/sink.c | 90 - src/pulsecore/sink.h | 8 ++ 10 files changed, 620 insertions(+), 8 deletions(-) -- 2.7.4 ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] [PATCH 0/4] Volume ramping
Le mercredi 8 août 2012 11:44:51 Alexander E. Patrakov, vous avez écrit : > 2012/8/8 Jaska Uimonen : > > Not because it would take more resources, but because of > > it is "hidden" sw volume. > > Just for the record: i'd say that it is good exactly for those > situations where you want a "hidden" volume that does not affect any > slider in the mixer application. Yeah, so would I. In fact, I would like to export the replay gain to PA instead of applying it manually in the application. -- Rémi Denis-Courmont, looking for a job http://www.remlab.net/ http://fi.linkedin.com/in/remidenis ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] [PATCH 0/4] Volume ramping
2012/8/8 Jaska Uimonen : > I decided to do add another software volume to sink and > sink-input which is independent of the other volumes. > I know that's not nice but it was really hard for me to > try adding the ramping to the existing volume functionality. > It would be nice if the ramping would in the end change > the actual volume, but I also see some drawbacks with that. > > This kind of ramping is good for "transient" type ramps. > I mean it is good for ramping up and down your stream or > temporarily lowering and raising the volume of your stream. > It is not that good for permanently changing your volume. > Not because it would take more resources, but because of > it is "hidden" sw volume. Just for the record: i'd say that it is good exactly for those situations where you want a "hidden" volume that does not affect any slider in the mixer application. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] [PATCH 0/4] Volume ramping
From: Jaska Uimonen This is my 5 cents to the volume ramping ideas/discussion that has been going on in various forums. I just wanted to publish it for comments etc. Maybe someone can even use it... I decided to do add another software volume to sink and sink-input which is independent of the other volumes. I know that's not nice but it was really hard for me to try adding the ramping to the existing volume functionality. It would be nice if the ramping would in the end change the actual volume, but I also see some drawbacks with that. This kind of ramping is good for "transient" type ramps. I mean it is good for ramping up and down your stream or temporarily lowering and raising the volume of your stream. It is not that good for permanently changing your volume. Not because it would take more resources, but because of it is "hidden" sw volume. Jaska Uimonen (4): volume ramp: additions to the low level infra volume ramp: adding volume ramping to sink-input volume ramp: add volume ramping to sink volume ramp: add client api support for volume ramping src/map-file|3 + src/pulse/def.h | 22 - src/pulse/introspect.c | 83 src/pulse/introspect.h |9 ++ src/pulse/stream.c |5 +- src/pulsecore/native-common.h |3 + src/pulsecore/pdispatch.c |2 + src/pulsecore/protocol-native.c | 88 +- src/pulsecore/sample-util.c | 201 +++ src/pulsecore/sample-util.h | 17 src/pulsecore/sink-input.c | 87 + src/pulsecore/sink-input.h | 11 ++- src/pulsecore/sink.c| 109 +++-- src/pulsecore/sink.h|8 ++ 14 files changed, 634 insertions(+), 14 deletions(-) -- 1.7.7.6 ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss