Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
148734ac
Commit
148734ac
authored
Apr 08, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: avoid new lines in device description
parent
f90a1806
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+4
-1
No files found.
modules/audio_output/alsa.c
View file @
148734ac
...
...
@@ -942,7 +942,10 @@ static void GetDevices (vlc_object_t *obj, module_config_t *item)
{
void
*
hint
=
hints
[
i
];
char
*
name
=
snd_device_name_get_hint
(
hint
,
"NAME"
);
char
*
desc
=
snd_device_name_get_hint
(
hint
,
"DESC"
);
char
*
desc
=
snd_device_name_get_hint
(
hint
,
"DESC"
);
for
(
char
*
lf
=
strchr
(
desc
,
'\n'
);
lf
;
lf
=
strchr
(
lf
,
'\n'
))
*
lf
=
' '
;
if
(
likely
(
desc
!=
NULL
&&
name
!=
NULL
))
msg_Dbg
(
obj
,
" %s (%s)"
,
desc
,
name
);
...
...
Write
Preview
Markdown
is supported
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