Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a2552da3
Commit
a2552da3
authored
May 12, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added two codec four aout usage (spdif).
parent
200df908
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
15 deletions
+14
-15
include/vlc_aout.h
include/vlc_aout.h
+14
-15
No files found.
include/vlc_aout.h
View file @
a2552da3
...
...
@@ -47,25 +47,24 @@ extern "C" {
&& ((p_first)->i_physical_channels == (p_second)->i_physical_channels)\
&& ((p_first)->i_original_channels == (p_second)->i_original_channels) )
#define AOUT_FMT_S16_NE VLC_CODEC_S16N
#define AOUT_FMT_U16_NE VLC_CODEC_U16N
#define AOUT_FMT_S24_NE VLC_CODEC_S24N
#define AOUT_FMT_S32_NE VLC_CODEC_S32N
#define VLC_CODEC_SPDIFL VLC_FOURCC('s','p','d','i')
#define VLC_CODEC_SPDIFB VLC_FOURCC('s','p','d','b')
#ifdef WORDS_BIGENDIAN
# define AOUT_FMT_S16_NE VLC_FOURCC('s','1','6','b')
# define AOUT_FMT_U16_NE VLC_FOURCC('u','1','6','b')
# define AOUT_FMT_S24_NE VLC_FOURCC('s','2','4','b')
# define AOUT_FMT_S32_NE VLC_FOURCC('s','3','2','b')
# define AOUT_FMT_SPDIF_NE VLC_FOURCC('s','p','d','b')
# define AOUT_FMT_SPDIF_NE VLC_CODEC_SPDIFB
#else
# define AOUT_FMT_S16_NE VLC_FOURCC('s','1','6','l')
# define AOUT_FMT_U16_NE VLC_FOURCC('u','1','6','l')
# define AOUT_FMT_S24_NE VLC_FOURCC('s','2','4','l')
# define AOUT_FMT_S32_NE VLC_FOURCC('s','3','2','l')
# define AOUT_FMT_SPDIF_NE VLC_FOURCC('s','p','d','i')
# define AOUT_FMT_SPDIF_NE VLC_CODEC_SPDIFL
#endif
#define AOUT_FMT_NON_LINEAR( p_format )
\
( ((p_format)->i_format == VLC_
FOURCC('s','p','d','i'))
\
|| ((p_format)->i_format == VLC_
FOURCC('s','p','d','b'))
\
|| ((p_format)->i_format == VLC_
FOURCC('a','5','2',' '))
\
|| ((p_format)->i_format == VLC_
FOURCC('d','t','s',' ')
) )
#define AOUT_FMT_NON_LINEAR( p_format ) \
( ((p_format)->i_format == VLC_
CODEC_SPDIFL)
\
|| ((p_format)->i_format == VLC_
CODEC_SPDIFB)
\
|| ((p_format)->i_format == VLC_
CODEC_A52)
\
|| ((p_format)->i_format == VLC_
CODEC_DTS
) )
/* This is heavily borrowed from libmad, by Robert Leslie <rob@mars.org> */
/*
...
...
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