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
83037f49
Commit
83037f49
authored
May 21, 2010
by
Alexandre Savard
Browse files
Merge branch 'm_savard' into echocancel
parents
6b3029e1
98ca4a1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/audio/pulseaudio/audiostream.cpp
View file @
83037f49
...
...
@@ -230,7 +230,11 @@ AudioStream::createStream (pa_context* c, std::string *deviceName)
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
),
NULL
,
NULL
);
if
(
deviceName
)
pa_stream_connect_playback
(
s
,
deviceName
->
c_str
(),
attributes
,
(
pa_stream_flags_t
)
(
PA_STREAM_ADJUST_LATENCY
|
PA_STREAM_AUTO_TIMING_UPDATE
),
NULL
,
NULL
);
else
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
==
UPLOAD_STREAM
)
{
...
...
sflphone-common/src/audio/pulseaudio/pulselayer.cpp
View file @
83037f49
...
...
@@ -557,7 +557,7 @@ bool PulseLayer::createStreams (pa_context* c)
pa_stream_set_moved_callback
(
record
->
pulseStream
(),
stream_moved_callback
,
this
);
pa_stream_set_latency_update_callback
(
record
->
pulseStream
(),
latency_update_callback
,
this
);
delete
recordParam
;
PulseLayerType
*
ringtoneParam
=
new
PulseLayerType
();
ringtoneParam
->
context
=
c
;
ringtoneParam
->
type
=
RINGTONE_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