Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d95e65c6
Commit
d95e65c6
authored
Dec 19, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: drop support for U24 and S24I
It seems S24N needs to be kept for the FLAC decoder though.
parent
0a45c7b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
37 deletions
+0
-37
modules/audio_filter/converter/endian.c
modules/audio_filter/converter/endian.c
+0
-19
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+0
-12
modules/audio_output/pulse.c
modules/audio_output/pulse.c
+0
-6
No files found.
modules/audio_filter/converter/endian.c
View file @
d95e65c6
...
...
@@ -44,23 +44,7 @@ vlc_module_begin()
set_callbacks
(
Open
,
NULL
)
vlc_module_end
()
static
block_t
*
Filter24
(
filter_t
*
filter
,
block_t
*
block
)
{
uint8_t
*
data
=
(
uint8_t
*
)
block
->
p_buffer
;
for
(
size_t
i
=
0
;
i
<
block
->
i_buffer
;
i
+=
3
)
{
uint8_t
buf
=
data
[
i
];
data
[
i
]
=
data
[
i
+
2
];
data
[
i
+
2
]
=
buf
;
}
(
void
)
filter
;
return
block
;
}
static
const
vlc_fourcc_t
list
[][
2
]
=
{
{
VLC_CODEC_S24B
,
VLC_CODEC_S24L
},
{
VLC_CODEC_S24B
,
VLC_CODEC_S24L
},
};
static
int
Open
(
vlc_object_t
*
object
)
...
...
@@ -89,9 +73,6 @@ static int Open(vlc_object_t *object)
ok:
switch
(
src
->
i_bitspersample
)
{
case
24
:
filter
->
pf_audio_filter
=
Filter24
;
break
;
}
return
VLC_SUCCESS
;
...
...
modules/audio_output/alsa.c
View file @
d95e65c6
...
...
@@ -315,18 +315,6 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
case
VLC_CODEC_S32N
:
pcm_format
=
SND_PCM_FORMAT_S32
;
break
;
case
VLC_CODEC_S24B
:
pcm_format
=
SND_PCM_FORMAT_S24_3BE
;
break
;
case
VLC_CODEC_S24L
:
pcm_format
=
SND_PCM_FORMAT_S24_3LE
;
break
;
case
VLC_CODEC_U24B
:
pcm_format
=
SND_PCM_FORMAT_U24_3BE
;
break
;
case
VLC_CODEC_U24L
:
pcm_format
=
SND_PCM_FORMAT_U24_3LE
;
break
;
case
VLC_CODEC_S16N
:
pcm_format
=
SND_PCM_FORMAT_S16
;
break
;
...
...
modules/audio_output/pulse.c
View file @
d95e65c6
...
...
@@ -662,12 +662,6 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
case
VLC_CODEC_S32N
:
ss
.
format
=
PA_SAMPLE_S32NE
;
break
;
case
VLC_CODEC_S24B
:
ss
.
format
=
PA_SAMPLE_S24BE
;
break
;
case
VLC_CODEC_S24L
:
ss
.
format
=
PA_SAMPLE_S24LE
;
break
;
case
VLC_CODEC_S16N
:
ss
.
format
=
PA_SAMPLE_S16NE
;
break
;
...
...
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