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
fda4b655
Commit
fda4b655
authored
Dec 19, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: drop support for S32I
parent
7234132c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
21 deletions
+9
-21
modules/audio_filter/converter/endian.c
modules/audio_filter/converter/endian.c
+0
-2
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+2
-5
modules/audio_output/oss.c
modules/audio_output/oss.c
+5
-9
modules/audio_output/pulse.c
modules/audio_output/pulse.c
+2
-5
No files found.
modules/audio_filter/converter/endian.c
View file @
fda4b655
...
@@ -84,9 +84,7 @@ static const vlc_fourcc_t list[][2] = {
...
@@ -84,9 +84,7 @@ static const vlc_fourcc_t list[][2] = {
{
VLC_CODEC_F64B
,
VLC_CODEC_F64L
},
{
VLC_CODEC_F64B
,
VLC_CODEC_F64L
},
{
VLC_CODEC_F32B
,
VLC_CODEC_F32L
},
{
VLC_CODEC_F32B
,
VLC_CODEC_F32L
},
{
VLC_CODEC_S24B
,
VLC_CODEC_S24L
},
{
VLC_CODEC_S24B
,
VLC_CODEC_S24L
},
{
VLC_CODEC_S32B
,
VLC_CODEC_S32L
},
{
VLC_CODEC_S24B
,
VLC_CODEC_S24L
},
{
VLC_CODEC_S24B
,
VLC_CODEC_S24L
},
{
VLC_CODEC_S32B
,
VLC_CODEC_S32L
},
};
};
static
int
Open
(
vlc_object_t
*
object
)
static
int
Open
(
vlc_object_t
*
object
)
...
...
modules/audio_output/alsa.c
View file @
fda4b655
...
@@ -318,11 +318,8 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
...
@@ -318,11 +318,8 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
case
VLC_CODEC_F32L
:
case
VLC_CODEC_F32L
:
pcm_format
=
SND_PCM_FORMAT_FLOAT_LE
;
pcm_format
=
SND_PCM_FORMAT_FLOAT_LE
;
break
;
break
;
case
VLC_CODEC_S32B
:
case
VLC_CODEC_S32N
:
pcm_format
=
SND_PCM_FORMAT_S32_BE
;
pcm_format
=
SND_PCM_FORMAT_S32
;
break
;
case
VLC_CODEC_S32L
:
pcm_format
=
SND_PCM_FORMAT_S32_LE
;
break
;
break
;
case
VLC_CODEC_S24B
:
case
VLC_CODEC_S24B
:
pcm_format
=
SND_PCM_FORMAT_S24_3BE
;
pcm_format
=
SND_PCM_FORMAT_S24_3BE
;
...
...
modules/audio_output/oss.c
View file @
fda4b655
...
@@ -118,11 +118,8 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
...
@@ -118,11 +118,8 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
format
=
AFMT_FLOAT
;
format
=
AFMT_FLOAT
;
break
;
break
;
#endif
#endif
case
VLC_CODEC_S32B
:
case
VLC_CODEC_S32N
:
format
=
AFMT_S32_BE
;
format
=
AFMT_S32_NE
;
break
;
case
VLC_CODEC_S32L
:
format
=
AFMT_S32_LE
;
break
;
break
;
case
VLC_CODEC_S16N
:
case
VLC_CODEC_S16N
:
format
=
AFMT_S16_NE
;
format
=
AFMT_S16_NE
;
...
@@ -151,12 +148,11 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
...
@@ -151,12 +148,11 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
switch
(
format
)
switch
(
format
)
{
{
case
AFMT_U8
:
fmt
->
i_format
=
VLC_CODEC_U8
;
break
;
case
AFMT_U8
:
fmt
->
i_format
=
VLC_CODEC_U8
;
break
;
case
AFMT_S16_NE
:
fmt
->
i_format
=
VLC_CODEC_S16N
;
break
;
case
AFMT_S16_NE
:
fmt
->
i_format
=
VLC_CODEC_S16N
;
break
;
//case AFMT_S24_BE:
//case AFMT_S24_BE:
//case AFMT_S24_LE:
//case AFMT_S24_LE:
case
AFMT_S32_BE
:
fmt
->
i_format
=
VLC_CODEC_S32B
;
break
;
case
AFMT_S32_NE
:
fmt
->
i_format
=
VLC_CODEC_S32N
;
break
;
case
AFMT_S32_LE
:
fmt
->
i_format
=
VLC_CODEC_S32L
;
break
;
#ifdef AFMT_FLOAT
#ifdef AFMT_FLOAT
case
AFMT_FLOAT
:
fmt
->
i_format
=
VLC_CODEC_FL32
;
break
;
case
AFMT_FLOAT
:
fmt
->
i_format
=
VLC_CODEC_FL32
;
break
;
#endif
#endif
...
...
modules/audio_output/pulse.c
View file @
fda4b655
...
@@ -664,11 +664,8 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
...
@@ -664,11 +664,8 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
case
VLC_CODEC_F32L
:
case
VLC_CODEC_F32L
:
ss
.
format
=
PA_SAMPLE_FLOAT32LE
;
ss
.
format
=
PA_SAMPLE_FLOAT32LE
;
break
;
break
;
case
VLC_CODEC_S32B
:
case
VLC_CODEC_S32N
:
ss
.
format
=
PA_SAMPLE_S32BE
;
ss
.
format
=
PA_SAMPLE_S32NE
;
break
;
case
VLC_CODEC_S32L
:
ss
.
format
=
PA_SAMPLE_S32LE
;
break
;
break
;
case
VLC_CODEC_S24B
:
case
VLC_CODEC_S24B
:
ss
.
format
=
PA_SAMPLE_S24BE
;
ss
.
format
=
PA_SAMPLE_S24BE
;
...
...
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