On Mon, 30.07.07 13:23, Jon Smirl (jonsmirl at gmail.com) wrote: > > On 7/30/07, Jon Smirl <jonsmirl at gmail.com> wrote: > > On 7/30/07, Lennart Poettering <lennart at poettering.net> wrote: > > > On Mon, 30.07.07 11:32, Jon Smirl (jonsmirl at gmail.com) wrote: > > > > > > > I have multiple apps using pulse as a mixer. Can I get pulse to > > > > remember the volume setting for a specific stream? For example I > > > > commonly have background music playing at a low volume. I can set it > > > > to a low volume in VLC but VLC starts clipping the sound at too low of > > > > levels. If I set the volume in PulseAudio volume control I don't have > > > > trouble with clipping but I don't see anyway to save the volume > > > > setting. > > > > > > > > Shouldn't it remember volume settings stream/device pairs? > > > > > > If you load module-volume-restore into PA it will automatcially > > > save and restore the volume for you. > > > > > > http://pulseaudio.org/wiki/Modules#module-volume-restore > > > > It is loaded. Where does it save the settings? Maybe it doesn't have > > permission to write. > > It's remembering the master volume for the device, just not the volume > for the stream/device pairs. That is not true. It stores the volume of each stream, and doesn't store volumes of sinks/sources. You might however have encountered an diffrent issue. Right now, if pa connects to X11 pa it will be shut down forcibly by libX11 when the session ends and thus it doesn't have time to save the collected volume data. And on your next login nothing is going to be restored. I guess in the long run I have to hook into the X session management protocol stuff (XSMP) to be able to save all data before bloody libX11 wants to kill me. It's a pitty that such a workaround is necessary, but yeah, what can I say. It's X11... This is now on my todo list. High-priority but not the top item. Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4