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
da4e05ae
Commit
da4e05ae
authored
May 29, 2018
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build for main test program.
parent
40abbc8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
tests/mal_test_0.c
tests/mal_test_0.c
+11
-11
No files found.
tests/mal_test_0.c
View file @
da4e05ae
...
@@ -1461,7 +1461,7 @@ int do_channel_routing_tests()
...
@@ -1461,7 +1461,7 @@ int do_channel_routing_tests()
routerConfig
.
channelsIn
=
6
;
routerConfig
.
channelsIn
=
6
;
routerConfig
.
channelsOut
=
routerConfig
.
channelsIn
;
routerConfig
.
channelsOut
=
routerConfig
.
channelsIn
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noAVX
=
MAL_TRUE
;
routerConfig
.
noAVX
2
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
mal_get_standard_channel_map
(
mal_standard_channel_map_microsoft
,
routerConfig
.
channelsIn
,
routerConfig
.
channelMapIn
);
mal_get_standard_channel_map
(
mal_standard_channel_map_microsoft
,
routerConfig
.
channelsIn
,
routerConfig
.
channelMapIn
);
...
@@ -1564,7 +1564,7 @@ int do_channel_routing_tests()
...
@@ -1564,7 +1564,7 @@ int do_channel_routing_tests()
routerConfig
.
channelsIn
=
6
;
routerConfig
.
channelsIn
=
6
;
routerConfig
.
channelsOut
=
routerConfig
.
channelsIn
;
routerConfig
.
channelsOut
=
routerConfig
.
channelsIn
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noAVX
=
MAL_TRUE
;
routerConfig
.
noAVX
2
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
mal_get_standard_channel_map
(
mal_standard_channel_map_microsoft
,
routerConfig
.
channelsIn
,
routerConfig
.
channelMapIn
);
mal_get_standard_channel_map
(
mal_standard_channel_map_microsoft
,
routerConfig
.
channelsIn
,
routerConfig
.
channelMapIn
);
...
@@ -1673,7 +1673,7 @@ int do_channel_routing_tests()
...
@@ -1673,7 +1673,7 @@ int do_channel_routing_tests()
routerConfig
.
channelsIn
=
2
;
routerConfig
.
channelsIn
=
2
;
routerConfig
.
channelsOut
=
6
;
routerConfig
.
channelsOut
=
6
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noAVX
=
MAL_TRUE
;
routerConfig
.
noAVX
2
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
mal_get_standard_channel_map
(
mal_standard_channel_map_microsoft
,
routerConfig
.
channelsIn
,
routerConfig
.
channelMapIn
);
mal_get_standard_channel_map
(
mal_standard_channel_map_microsoft
,
routerConfig
.
channelsIn
,
routerConfig
.
channelMapIn
);
...
@@ -1725,7 +1725,7 @@ int do_channel_routing_tests()
...
@@ -1725,7 +1725,7 @@ int do_channel_routing_tests()
routerConfig
.
channelsIn
=
6
;
routerConfig
.
channelsIn
=
6
;
routerConfig
.
channelsOut
=
2
;
routerConfig
.
channelsOut
=
2
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noAVX
=
MAL_TRUE
;
routerConfig
.
noAVX
2
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
mal_get_standard_channel_map
(
mal_standard_channel_map_microsoft
,
routerConfig
.
channelsIn
,
routerConfig
.
channelMapIn
);
mal_get_standard_channel_map
(
mal_standard_channel_map_microsoft
,
routerConfig
.
channelsIn
,
routerConfig
.
channelMapIn
);
...
@@ -1775,7 +1775,7 @@ int do_channel_routing_tests()
...
@@ -1775,7 +1775,7 @@ int do_channel_routing_tests()
routerConfig
.
pUserData
=
NULL
;
routerConfig
.
pUserData
=
NULL
;
routerConfig
.
mixingMode
=
mal_channel_mix_mode_planar_blend
;
routerConfig
.
mixingMode
=
mal_channel_mix_mode_planar_blend
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noAVX
=
MAL_TRUE
;
routerConfig
.
noAVX
2
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
...
@@ -1897,7 +1897,7 @@ int do_channel_routing_tests()
...
@@ -1897,7 +1897,7 @@ int do_channel_routing_tests()
routerConfig
.
pUserData
=
NULL
;
routerConfig
.
pUserData
=
NULL
;
routerConfig
.
mixingMode
=
mal_channel_mix_mode_planar_blend
;
routerConfig
.
mixingMode
=
mal_channel_mix_mode_planar_blend
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noAVX
=
MAL_TRUE
;
routerConfig
.
noAVX
2
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
...
@@ -1973,7 +1973,7 @@ int do_channel_routing_tests()
...
@@ -1973,7 +1973,7 @@ int do_channel_routing_tests()
routerConfig
.
pUserData
=
NULL
;
routerConfig
.
pUserData
=
NULL
;
routerConfig
.
mixingMode
=
mal_channel_mix_mode_planar_blend
;
routerConfig
.
mixingMode
=
mal_channel_mix_mode_planar_blend
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noAVX
=
MAL_TRUE
;
routerConfig
.
noAVX
2
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
...
@@ -2032,7 +2032,7 @@ int do_channel_routing_tests()
...
@@ -2032,7 +2032,7 @@ int do_channel_routing_tests()
routerConfig
.
pUserData
=
NULL
;
routerConfig
.
pUserData
=
NULL
;
routerConfig
.
mixingMode
=
mal_channel_mix_mode_planar_blend
;
routerConfig
.
mixingMode
=
mal_channel_mix_mode_planar_blend
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noSSE2
=
MAL_TRUE
;
routerConfig
.
noAVX
=
MAL_TRUE
;
routerConfig
.
noAVX
2
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noAVX512
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
routerConfig
.
noNEON
=
MAL_TRUE
;
...
@@ -2402,10 +2402,10 @@ int main(int argc, char** argv)
...
@@ -2402,10 +2402,10 @@ int main(int argc, char** argv)
}
else
{
}
else
{
printf
(
"Has SSE: NO
\n
"
);
printf
(
"Has SSE: NO
\n
"
);
}
}
if
(
mal_has_avx
())
{
if
(
mal_has_avx
2
())
{
printf
(
"Has AVX
:
YES
\n
"
);
printf
(
"Has AVX
2:
YES
\n
"
);
}
else
{
}
else
{
printf
(
"Has AVX
:
NO
\n
"
);
printf
(
"Has AVX
2:
NO
\n
"
);
}
}
if
(
mal_has_avx512f
())
{
if
(
mal_has_avx512f
())
{
printf
(
"Has AVX-512F: YES
\n
"
);
printf
(
"Has AVX-512F: YES
\n
"
);
...
...
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