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
108467bf
Commit
108467bf
authored
May 31, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Backported my two previous commits.
parent
da0187a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
plugins/a52/a52.c
plugins/a52/a52.c
+2
-2
plugins/satellite/satellite_tools.c
plugins/satellite/satellite_tools.c
+1
-1
plugins/sdl/aout_sdl.c
plugins/sdl/aout_sdl.c
+9
-1
No files found.
plugins/a52/a52.c
View file @
108467bf
...
...
@@ -4,7 +4,7 @@
* (http://liba52.sf.net/).
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: a52.c,v 1.14
2002/05/30 08:17:04 gbazin
Exp $
* $Id: a52.c,v 1.14
.2.1 2002/05/31 21:57:51 massiot
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -28,7 +28,7 @@
*****************************************************************************/
#include <stdlib.h>
/* malloc(), free() */
#include <string.h>
/* strdup() */
#include <
stdint.h>
/* int16_t .. */
#include <
inttypes.h>
/* int16_t .. */
#include <videolan/vlc.h>
...
...
plugins/satellite/satellite_tools.c
View file @
108467bf
...
...
@@ -23,7 +23,7 @@
#include <sys/ioctl.h>
#include <stdio.h>
#include <
stdint
.h>
#include <
inttypes
.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
...
...
plugins/sdl/aout_sdl.c
View file @
108467bf
...
...
@@ -2,7 +2,7 @@
* aout_sdl.c : audio sdl functions library
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: aout_sdl.c,v 1.27
2002/02/24 22:06:50 sam
Exp $
* $Id: aout_sdl.c,v 1.27
.2.1 2002/05/31 21:57:51 massiot
Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -133,7 +133,11 @@ static int aout_Open( aout_thread_t *p_aout )
/* TODO: write conversion beetween AOUT_FORMAT_DEFAULT
* AND AUDIO* from SDL. */
desired
.
freq
=
p_aout
->
i_rate
;
#ifdef WORDS_BIGENDIAN
desired
.
format
=
AUDIO_S16MSB
;
/* stereo 16 bits */
#else
desired
.
format
=
AUDIO_S16LSB
;
/* stereo 16 bits */
#endif
desired
.
channels
=
p_aout
->
i_channels
;
desired
.
callback
=
aout_SDLCallback
;
desired
.
userdata
=
p_aout
->
p_sys
;
...
...
@@ -173,7 +177,11 @@ static int aout_SetFormat( aout_thread_t *p_aout )
/*i_format = p_aout->i_format;*/
desired
.
freq
=
p_aout
->
i_rate
;
/* Set the output rate */
#ifdef WORDS_BIGENDIAN
desired
.
format
=
AUDIO_S16MSB
;
/* stereo 16 bits */
#else
desired
.
format
=
AUDIO_S16LSB
;
/* stereo 16 bits */
#endif
desired
.
channels
=
p_aout
->
i_channels
;
desired
.
callback
=
aout_SDLCallback
;
desired
.
userdata
=
p_aout
->
p_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