Bug 879651 - Explain why we don't use float on mobile.
authorPaul Adenot <paul@paul.cx>
Tue, 11 Jun 2013 02:11:45 +0200
changeset 134595 172b542f51bae22359cb5c4444f5ceedf0f66590
parent 134594 b7637656cc54446ee646a43df732281ea91d239f
child 134596 9786c829bf3c384160dff3d0c35be615e256f5e3
push id24805
push useremorley@mozilla.com
push dateTue, 11 Jun 2013 08:32:39 +0000
treeherdermozilla-central@81b227f1a522 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs879651
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 879651 - Explain why we don't use float on mobile.
configure.in
--- a/configure.in
+++ b/configure.in
@@ -5357,17 +5357,18 @@ AC_SUBST(MOZ_WEBRTC)
 AC_SUBST(MOZ_WEBRTC_LEAKING_TESTS)
 AC_SUBST(MOZ_WEBRTC_SIGNALING)
 AC_SUBST(MOZ_PEERCONNECTION)
 AC_SUBST(MOZ_WEBRTC_IN_LIBXUL)
 AC_SUBST(MOZ_WEBRTC_ASSERT_ALWAYS)
 AC_SUBST(MOZ_SCTP)
 AC_SUBST(MOZ_SRTP)
 
-dnl Use integers over floats for audio on B2G and Android
+dnl Use integers over floats for audio on B2G and Android, because audio
+dnl backends for those platforms don't support floats.
 if test "$OS_TARGET" = "Android"; then
     MOZ_SAMPLE_TYPE_S16=1
     AC_DEFINE(MOZ_SAMPLE_TYPE_S16)
     AC_SUBST(MOZ_SAMPLE_TYPE_S16)
 else
     MOZ_SAMPLE_TYPE_FLOAT32=1
     AC_DEFINE(MOZ_SAMPLE_TYPE_FLOAT32)
     AC_SUBST(MOZ_SAMPLE_TYPE_FLOAT32)