Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
70577690
Commit
70577690
authored
Mar 23, 2013
by
Alexandre Ratchov
Committed by
Rémi Denis-Courmont
Mar 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sndio: fix typos
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
1775dea4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
configure.ac
configure.ac
+1
-1
modules/audio_output/sndio.c
modules/audio_output/sndio.c
+6
-6
No files found.
configure.ac
View file @
70577690
...
...
@@ -3440,7 +3440,7 @@ dnl
AC_ARG_ENABLE([sndio],
[AS_HELP_STRING([--disable-sndio],
[support the OpenBSD sndio (default auto)])],, [
AS_IF([test "$SYS" = "opensd"], [
AS_IF([test "$SYS" = "open
b
sd"], [
enable_sndio="yes"
])
])
...
...
modules/audio_output/sndio.c
View file @
70577690
...
...
@@ -32,7 +32,7 @@
#include <sndio.h>
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_objec_t
*
);
static
void
Close
(
vlc_objec
t
_t
*
);
vlc_module_begin
()
set_shortname
(
"sndio"
)
...
...
@@ -43,7 +43,7 @@ vlc_module_begin ()
set_callbacks
(
Open
,
Close
)
vlc_module_end
()
static
int
TimeGet
(
audio_output
,
mtime_t
*
);
static
int
TimeGet
(
audio_output
_t
*
,
mtime_t
*
);
static
void
Play
(
audio_output_t
*
,
block_t
*
);
static
void
Flush
(
audio_output_t
*
,
bool
);
static
int
VolumeSet
(
audio_output_t
*
,
float
);
...
...
@@ -87,13 +87,13 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
if
(
!
sio_setpar
(
sys
->
hdl
,
&
par
)
||
!
sio_getpar
(
sys
->
hdl
,
&
par
))
{
msg_Err
(
obj
,
"cannot negotiate audio playback parameters"
);
msg_Err
(
aout
,
"cannot negotiate audio playback parameters"
);
goto
error
;
}
if
(
par
.
bps
!=
par
.
bits
>>
3
)
{
msg_Err
(
obj
,
"unsupported audio sample format (%u bits in %u bytes)"
,
msg_Err
(
aout
,
"unsupported audio sample format (%u bits in %u bytes)"
,
par
.
bits
,
par
.
bps
);
goto
error
;
}
...
...
@@ -128,7 +128,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
fmt
->
i_format
=
VLC_CODEC_S32N
;
break
;
default:
msg_Err
(
obj
,
"unsupported audio sample format (%u bits)"
,
msg_Err
(
aout
,
"unsupported audio sample format (%u bits)"
,
par
.
bits
);
goto
error
;
}
...
...
@@ -300,7 +300,7 @@ static int Open (vlc_object_t *obj)
return
VLC_SUCCESS
;
}
static
int
Close
(
vlc_object_t
*
obj
)
static
void
Close
(
vlc_object_t
*
obj
)
{
audio_output_t
*
aout
=
(
audio_output_t
*
)
obj
;
aout_sys_t
*
sys
=
aout
->
sys
;
...
...
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