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
017d319e
Commit
017d319e
authored
Sep 01, 2011
by
Rafaël Carré
Browse files
alsa: typo
parent
0e5127f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/audio/alsa/alsalayer.cpp
View file @
017d319e
...
...
@@ -443,7 +443,7 @@ AlsaLayer::getSoundCardsInfo (int stream)
ss
<<
numCard
;
std
::
string
name
=
"hw:"
+
ss
.
str
();
if
(
snd_ctl_open
(
&
handle
,
name
.
c_str
(),
0
)
!
=
0
)
{
if
(
snd_ctl_open
(
&
handle
,
name
.
c_str
(),
0
)
=
=
0
)
{
if
(
snd_ctl_card_info
(
handle
,
info
)
==
0
)
{
snd_pcm_info_set_device
(
pcminfo
,
0
);
snd_pcm_info_set_stream
(
pcminfo
,
(
stream
==
SFL_PCM_CAPTURE
)
?
SND_PCM_STREAM_CAPTURE
:
SND_PCM_STREAM_PLAYBACK
);
...
...
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