Re: Changing Volume on Streams ( not Sinks )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2019-07-29 at 10:24 -0700, Brian Bulkowski wrote:
> Thank you Georg!
> 
> About 12 hours ago I figured it out too. 
> pa_context_set_sink_input_volume() is the function I was looking for, 
> and I was mistakenly using pa_context_set_sink_volume_by_index(), an 
> obvious flaw on my part.
> 
> The other way to get a sink-input id directly from a Stream, you don't 
> need to list them all and find what you're looking for. That would be 
> 'pa_stream_get_index'.
> 
> I would suggest adding a single sentence to the doc set ---
> 
> 'pa_stream_get_index' should note that what is returned is a 'sink 
> input' or 'source output' id, depending on the type of stream. The note 
> there says "useful for functions such as" which are functions that take 
> those kinds of IDs, but a little clarity would be helpful.
> 
> If there was a description somewhere in the doc set about the 4 
> different id spaces ( more? ), at a higher level, that would be really 
> great. That finally clicked for me when I was looking at pacmd/pactl and 
> seeing how that tool lists things, see the different IDs and what you 
> can do with them. It doesn't really fit in any of the higher level 
> sections, because it applies to both simple and async and others....
> 
> I like PulseAudio quite a bit -- can I give back by trying to write up a 
> page?

By a page, do you mean a new page or section in the doxygen
documentation? Yes, documentation patches are very welcome!

-- 
Tanu

https://www.patreon.com/tanuk
https://liberapay.com/tanuk

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux