Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
63e5e7cb
Commit
63e5e7cb
authored
Apr 07, 2010
by
Alexandre Savard
Browse files
[#3134] Fix pulseaudio volume jumps to 100% at startup
Just needed to pass NULL as an argument for volume when opening streams
parent
89132674
Changes
1
Show whitespace changes
Inline
Side-by-side
sflphone-common/src/audio/pulseaudio/audiostream.cpp
View file @
63e5e7cb
...
...
@@ -198,7 +198,7 @@ AudioStream::createStream (pa_context* c)
attributes
->
minreq
=
(
uint32_t
)
-
1
;
pa_threaded_mainloop_lock
(
_mainloop
);
pa_stream_connect_playback
(
s
,
NULL
,
attributes
,
(
pa_stream_flags_t
)(
PA_STREAM_ADJUST_LATENCY
|
PA_STREAM_AUTO_TIMING_UPDATE
),
&
_volume
,
NULL
);
pa_stream_connect_playback
(
s
,
NULL
,
attributes
,
(
pa_stream_flags_t
)(
PA_STREAM_ADJUST_LATENCY
|
PA_STREAM_AUTO_TIMING_UPDATE
),
NULL
,
NULL
);
pa_threaded_mainloop_unlock
(
_mainloop
);
}
else
if
(
_streamType
==
CAPTURE_STREAM
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment