summaryrefslogtreecommitdiff
path: root/typedefs.h
diff options
context:
space:
mode:
authorandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-03-04 20:58:13 +0000
committerandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-03-04 20:58:13 +0000
commit5350e31941086c3861f12f8a4756066ee3137c63 (patch)
treedfc3d87ec7d83167635867a038abbee358c08bff /typedefs.h
parent78f1f4ab3936553ed175a6f1f81a412deab88789 (diff)
downloadwebrtc-5350e31941086c3861f12f8a4756066ee3137c63.tar.gz
Add a deinterleaved float interface to AudioProcessing.
This is mainly to support the native audio format in Chrome. Although this implementation just moves the float->int conversion under the hood, we will transition AudioProcessing towards supporting this format throughout. - Add a test which verifies we get identical output with the float and int interfaces. - The float and int wrappers are tasked with conversion to the AudioBuffer format. A new shared Process/Analyze method does most of the work. - Add a new field to the debug.proto to hold deinterleaved data. - Add helpers to audio_utils.cc, and start using numeric_limits. - Note that there was no performance difference between numeric_limits and a literal value when measured on Linux using gcc or clang. BUG=2894 R=aluebs@webrtc.org, bjornv@webrtc.org, henrikg@webrtc.org, tommi@webrtc.org, turaj@webrtc.org, xians@webrtc.org Review URL: https://webrtc-codereview.appspot.com/9179004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5641 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'typedefs.h')
-rw-r--r--typedefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/typedefs.h b/typedefs.h
index fc43c9af..16e2a9fb 100644
--- a/typedefs.h
+++ b/typedefs.h
@@ -68,7 +68,7 @@
#if !defined(_MSC_VER)
#include <stdint.h>
#else
-// Define C99 equivalent types, since MSVC doesn't provide stdint.h.
+// Define C99 equivalent types, since pre-2010 MSVC doesn't provide stdint.h.
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;