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
7a7ebd9f
Commit
7a7ebd9f
authored
Apr 14, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: add all supported S/PDIF frequencies
parent
7105abf8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+8
-7
No files found.
modules/audio_output/alsa.c
View file @
7a7ebd9f
...
...
@@ -179,14 +179,15 @@ static int Open (vlc_object_t *obj)
switch
(
p_aout
->
output
.
output
.
i_rate
)
{
case
48000
:
aes3
=
IEC958_AES3_CON_FS_48000
;
break
;
case
44100
:
aes3
=
IEC958_AES3_CON_FS_44100
;
break
;
#define FS(freq) \
case freq: aes3 = IEC958_AES3_CON_FS_ ## freq; break;
FS
(
44100
)
/* def. */
FS
(
48000
)
FS
(
32000
)
FS
(
22050
)
FS
(
24000
)
FS
(
88200
)
FS
(
768000
)
FS
(
96000
)
FS
(
176400
)
FS
(
192000
)
#undef FS
default:
aes3
=
IEC958_AES3_CON_FS_
32000
;
aes3
=
IEC958_AES3_CON_FS_
NOTID
;
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