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
cf15eafd
Commit
cf15eafd
authored
May 25, 2010
by
Alexandre Savard
Browse files
[#1966] Display sample specs at pulseaudio stream creation
parent
141b4b69
Changes
1
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/audio/pulseaudio/audiostream.cpp
View file @
cf15eafd
...
...
@@ -130,6 +130,8 @@ AudioStream::stream_state_callback (pa_stream* s, void* user_data)
_info
(
"Audio: The state of the stream changed"
);
assert
(
s
);
char
str
[
PA_SAMPLE_SPEC_SNPRINT_MAX
];
m
=
(
pa_threaded_mainloop
*
)
user_data
;
assert
(
m
);
...
...
@@ -151,6 +153,7 @@ AudioStream::stream_state_callback (pa_stream* s, void* user_data)
_debug
(
"Audio: prebug %u"
,
pa_stream_get_buffer_attr
(
s
)
->
prebuf
);
_debug
(
"Audio: minreq %u"
,
pa_stream_get_buffer_attr
(
s
)
->
minreq
);
_debug
(
"Audio: fragsize %u"
,
pa_stream_get_buffer_attr
(
s
)
->
fragsize
);
_debug
(
"Audio: samplespec %s"
,
pa_sample_spec_snprint
(
str
,
sizeof
(
str
),
pa_stream_get_sample_spec
(
s
)));
// pa_xfree (buffattr);
break
;
...
...
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