Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
MyCard
miniaudio
Commits
43a11321
Commit
43a11321
authored
Jun 25, 2017
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some useless comments.
parent
0414907e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
mini_al.h
mini_al.h
+23
-23
No files found.
mini_al.h
View file @
43a11321
...
@@ -4291,29 +4291,29 @@ mal_channel mal_convert_alsa_channel_position_to_mal_channel(unsigned int alsaCh
...
@@ -4291,29 +4291,29 @@ mal_channel mal_convert_alsa_channel_position_to_mal_channel(unsigned int alsaCh
{
{
case
SND_CHMAP_FL
:
return
MAL_CHANNEL_FRONT_LEFT
;
case
SND_CHMAP_FL
:
return
MAL_CHANNEL_FRONT_LEFT
;
case
SND_CHMAP_FR
:
return
MAL_CHANNEL_FRONT_RIGHT
;
case
SND_CHMAP_FR
:
return
MAL_CHANNEL_FRONT_RIGHT
;
case
SND_CHMAP_RL
:
return
MAL_CHANNEL_BACK_LEFT
;
/* rear left */
case
SND_CHMAP_RL
:
return
MAL_CHANNEL_BACK_LEFT
;
case
SND_CHMAP_RR
:
return
MAL_CHANNEL_BACK_RIGHT
;
/* rear right */
case
SND_CHMAP_RR
:
return
MAL_CHANNEL_BACK_RIGHT
;
case
SND_CHMAP_FC
:
return
MAL_CHANNEL_FRONT_CENTER
;
/* front center */
case
SND_CHMAP_FC
:
return
MAL_CHANNEL_FRONT_CENTER
;
case
SND_CHMAP_LFE
:
return
MAL_CHANNEL_LFE
;
/* LFE */
case
SND_CHMAP_LFE
:
return
MAL_CHANNEL_LFE
;
case
SND_CHMAP_SL
:
return
MAL_CHANNEL_SIDE_LEFT
;
/* side left */
case
SND_CHMAP_SL
:
return
MAL_CHANNEL_SIDE_LEFT
;
case
SND_CHMAP_SR
:
return
MAL_CHANNEL_SIDE_RIGHT
;
/* side right */
case
SND_CHMAP_SR
:
return
MAL_CHANNEL_SIDE_RIGHT
;
case
SND_CHMAP_RC
:
return
MAL_CHANNEL_BACK_CENTER
;
/* rear center */
case
SND_CHMAP_RC
:
return
MAL_CHANNEL_BACK_CENTER
;
case
SND_CHMAP_FLC
:
return
MAL_CHANNEL_FRONT_LEFT_CENTER
;
/* front left center */
case
SND_CHMAP_FLC
:
return
MAL_CHANNEL_FRONT_LEFT_CENTER
;
case
SND_CHMAP_FRC
:
return
MAL_CHANNEL_FRONT_RIGHT_CENTER
;
/* front right center */
case
SND_CHMAP_FRC
:
return
MAL_CHANNEL_FRONT_RIGHT_CENTER
;
case
SND_CHMAP_RLC
:
return
0
;
/* rear left center */
case
SND_CHMAP_RLC
:
return
0
;
case
SND_CHMAP_RRC
:
return
0
;
/* rear right center */
case
SND_CHMAP_RRC
:
return
0
;
case
SND_CHMAP_FLW
:
return
0
;
/* front left wide */
case
SND_CHMAP_FLW
:
return
0
;
case
SND_CHMAP_FRW
:
return
0
;
/* front right wide */
case
SND_CHMAP_FRW
:
return
0
;
case
SND_CHMAP_FLH
:
return
0
;
/* front left high */
case
SND_CHMAP_FLH
:
return
0
;
case
SND_CHMAP_FCH
:
return
0
;
/* front center high */
case
SND_CHMAP_FCH
:
return
0
;
case
SND_CHMAP_FRH
:
return
0
;
/* front right high */
case
SND_CHMAP_FRH
:
return
0
;
case
SND_CHMAP_TC
:
return
MAL_CHANNEL_TOP_CENTER
;
/* top center */
case
SND_CHMAP_TC
:
return
MAL_CHANNEL_TOP_CENTER
;
case
SND_CHMAP_TFL
:
return
MAL_CHANNEL_TOP_FRONT_LEFT
;
/* top front left */
case
SND_CHMAP_TFL
:
return
MAL_CHANNEL_TOP_FRONT_LEFT
;
case
SND_CHMAP_TFR
:
return
MAL_CHANNEL_TOP_FRONT_RIGHT
;
/* top front right */
case
SND_CHMAP_TFR
:
return
MAL_CHANNEL_TOP_FRONT_RIGHT
;
case
SND_CHMAP_TFC
:
return
MAL_CHANNEL_TOP_FRONT_CENTER
;
/* top front center */
case
SND_CHMAP_TFC
:
return
MAL_CHANNEL_TOP_FRONT_CENTER
;
case
SND_CHMAP_TRL
:
return
MAL_CHANNEL_TOP_BACK_LEFT
;
/* top rear left */
case
SND_CHMAP_TRL
:
return
MAL_CHANNEL_TOP_BACK_LEFT
;
case
SND_CHMAP_TRR
:
return
MAL_CHANNEL_TOP_BACK_RIGHT
;
/* top rear right */
case
SND_CHMAP_TRR
:
return
MAL_CHANNEL_TOP_BACK_RIGHT
;
case
SND_CHMAP_TRC
:
return
MAL_CHANNEL_TOP_BACK_CENTER
;
/* top rear center */
case
SND_CHMAP_TRC
:
return
MAL_CHANNEL_TOP_BACK_CENTER
;
default:
break
;
default:
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