[pulseaudio-tickets] [PulseAudio] #314: Setting initial volume via pa_stream_connect_playback() does not work
PulseAudio
trac-noreply at tango.0pointer.de
Fri Jun 27 02:04:05 PDT 2008
#314: Setting initial volume via pa_stream_connect_playback() does not work
---------------------+------------------------------------------------------
Reporter: slomo | Owner: lennart
Type: defect | Status: new
Priority: normal | Milestone:
Component: daemon | Severity: normal
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by slomo):
No, I wasn't aware of that. But then paplay's volume parameter is
confusing, I'd expect it to simply scale the audio played according to
that volume.
To specify a bit more what I want, I'm adding a volume property to the
GStreamer pulsesink. This should act as if the audio is simply scaled.
My plan was to a) set a initial volume according to that property and b)
adjust the volume whenever this property is changed. How can I do that? Is
it possible at all? For b) there seems to be
pa_context_set_sink_volume_by_index(), right?
--
Ticket URL: <http://pulseaudio.org/ticket/314#comment:2>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list