projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf77c0
)
[AML] Use M1 digital_raw val only on M1
author
Trent Nelson
<trent.nelson@pivosgroup.com>
Tue, 15 Jul 2014 09:48:19 +0000
(17:48 +0800)
committer
Trent Nelson
<trent.nelson@pivosgroup.com>
Fri, 18 Jul 2014 04:16:53 +0000
(12:16 +0800)
xbmc/utils/AMLUtils.cpp
patch
|
blob
|
history
diff --git
a/xbmc/utils/AMLUtils.cpp
b/xbmc/utils/AMLUtils.cpp
index
342cf97
..
2983186
100644
(file)
--- a/
xbmc/utils/AMLUtils.cpp
+++ b/
xbmc/utils/AMLUtils.cpp
@@
-217,7
+217,7
@@
void aml_set_audio_passthrough(bool passthrough)
if (aml_present())
{
// m1 uses 1, m3 and above uses 2
- int raw = aml_get_cputype()
< AML_DEVICE_TYPE_M3
? 1:2;
+ int raw = aml_get_cputype()
== AML_DEVICE_TYPE_M1
? 1:2;
aml_set_sysfs_int("/sys/class/audiodsp/digital_raw", passthrough ? raw:0);
}
}