Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8455)

Unified Diff: chromecast/media/cma/backend/alsa/BUILD.gn

Issue 1804763002: Use monotonic raw timestamp by default except for x86/64 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/backend/alsa/BUILD.gn
diff --git a/chromecast/media/cma/backend/alsa/BUILD.gn b/chromecast/media/cma/backend/alsa/BUILD.gn
index c12367d8a9be472b2ef6d5c77ce0d89a342d24d5..f264f97326daec8ed0febab77be3010cbec85d60 100644
--- a/chromecast/media/cma/backend/alsa/BUILD.gn
+++ b/chromecast/media/cma/backend/alsa/BUILD.gn
@@ -7,9 +7,13 @@ import("//media/media_options.gni")
import("//testing/test.gni")
declare_args() {
- # Set true to use raw timestamps. This should only be enabled when the ALSA
- # library supports it.
use_alsa_monotonic_raw_tstamps = false
+
+ # Set true to use raw timestamps except on x86 and x64 platforms.
+ # Alsa version equal or later than 1.0.29 support this function.
+ if (target_cpu != "x86" && target_cpu != "x64") {
kmackay 2016/03/16 16:27:02 if (!is_cast_desktop_build)
mengyu1 2016/03/16 16:53:38 Done.
+ use_alsa_monotonic_raw_tstamps = true
+ }
}
# Alsa must be used for these targets to build.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698