Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
1ec7da49
Commit
1ec7da49
authored
Jul 27, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/audio_output/alsa.c: #ifdef DEBUG -> #ifdef ALSA_DEBUG
parent
f05705c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+6
-6
No files found.
modules/audio_output/alsa.c
View file @
1ec7da49
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* alsa.c : alsa plugin for vlc
* alsa.c : alsa plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* Copyright (C) 2000-2001 VideoLAN
* $Id: alsa.c,v 1.3
2 2003/07/27 16:14:20
gbazin Exp $
* $Id: alsa.c,v 1.3
3 2003/07/27 16:20:53
gbazin Exp $
*
*
* Authors: Henri Fallon <henri@videolan.org> - Original Author
* Authors: Henri Fallon <henri@videolan.org> - Original Author
* Jeffrey Baker <jwbaker@acm.org> - Port to ALSA 1.0 API
* Jeffrey Baker <jwbaker@acm.org> - Port to ALSA 1.0 API
...
@@ -54,7 +54,7 @@ struct aout_sys_t
...
@@ -54,7 +54,7 @@ struct aout_sys_t
snd_pcm_t
*
p_snd_pcm
;
snd_pcm_t
*
p_snd_pcm
;
int
i_period_time
;
int
i_period_time
;
#ifdef DEBUG
#ifdef
ALSA_
DEBUG
snd_output_t
*
p_snd_stderr
;
snd_output_t
*
p_snd_stderr
;
#endif
#endif
...
@@ -388,7 +388,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -388,7 +388,7 @@ static int Open( vlc_object_t *p_this )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
#ifdef DEBUG
#ifdef
ALSA_
DEBUG
snd_output_stdio_attach
(
&
p_sys
->
p_snd_stderr
,
stderr
,
0
);
snd_output_stdio_attach
(
&
p_sys
->
p_snd_stderr
,
stderr
,
0
);
#endif
#endif
...
@@ -555,7 +555,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -555,7 +555,7 @@ static int Open( vlc_object_t *p_this )
goto
error
;
goto
error
;
}
}
#ifdef DEBUG
#ifdef
ALSA_
DEBUG
snd_output_printf
(
p_sys
->
p_snd_stderr
,
"
\n
ALSA hardware setup:
\n\n
"
);
snd_output_printf
(
p_sys
->
p_snd_stderr
,
"
\n
ALSA hardware setup:
\n\n
"
);
snd_pcm_dump_hw_setup
(
p_sys
->
p_snd_pcm
,
p_sys
->
p_snd_stderr
);
snd_pcm_dump_hw_setup
(
p_sys
->
p_snd_pcm
,
p_sys
->
p_snd_stderr
);
snd_output_printf
(
p_sys
->
p_snd_stderr
,
"
\n
ALSA software setup:
\n\n
"
);
snd_output_printf
(
p_sys
->
p_snd_stderr
,
"
\n
ALSA software setup:
\n\n
"
);
...
@@ -575,7 +575,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -575,7 +575,7 @@ static int Open( vlc_object_t *p_this )
error:
error:
snd_pcm_close
(
p_sys
->
p_snd_pcm
);
snd_pcm_close
(
p_sys
->
p_snd_pcm
);
#ifdef DEBUG
#ifdef
ALSA_
DEBUG
snd_output_close
(
p_sys
->
p_snd_stderr
);
snd_output_close
(
p_sys
->
p_snd_stderr
);
#endif
#endif
free
(
p_sys
);
free
(
p_sys
);
...
@@ -628,7 +628,7 @@ static void Close( vlc_object_t *p_this )
...
@@ -628,7 +628,7 @@ static void Close( vlc_object_t *p_this )
snd_strerror
(
i_snd_rc
)
);
snd_strerror
(
i_snd_rc
)
);
}
}
#ifdef DEBUG
#ifdef
ALSA_
DEBUG
snd_output_close
(
p_sys
->
p_snd_stderr
);
snd_output_close
(
p_sys
->
p_snd_stderr
);
#endif
#endif
...
...
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