Skip to content

Commit 2c06e95

Browse files
committed
Add Exynos850 CPU to list of devices which supply stereo data in mono MMap stream
1 parent 1b062e0 commit 2c06e95

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/common/QuirksManager.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class SamsungDeviceQuirks : public QuirksManager::DeviceQuirks {
7171
std::string chipname = getPropertyString("ro.hardware.chipname");
7272
isExynos9810 = (chipname == "exynos9810");
7373
isExynos990 = (chipname == "exynos990");
74+
isExynos850 = (chipname == "exynos850");
7475

7576
mBuildChangelist = getPropertyInteger("ro.build.changelist", 0);
7677
}
@@ -86,9 +87,9 @@ class SamsungDeviceQuirks : public QuirksManager::DeviceQuirks {
8687
return kTopMargin;
8788
}
8889

89-
// See Oboe issue #824 for more information.
90+
// See Oboe issues #824 and #1247 for more information.
9091
bool isMonoMMapActuallyStereo() const override {
91-
return isExynos9810; // TODO We can make this version specific if it gets fixed.
92+
return isExynos9810 || isExynos850; // TODO We can make this version specific if it gets fixed.
9293
}
9394

9495
bool isAAudioMMapPossible(const AudioStreamBuilder &builder) const override {
@@ -116,6 +117,7 @@ class SamsungDeviceQuirks : public QuirksManager::DeviceQuirks {
116117
bool isExynos = false;
117118
bool isExynos9810 = false;
118119
bool isExynos990 = false;
120+
bool isExynos850 = false;
119121
int mBuildChangelist = 0;
120122
};
121123

0 commit comments

Comments
 (0)