History log of /external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b3adea6f471d03c5bd728725adc7ca1cea89edfd 14-Mar-2013 Marcus Oakland <marcus.oakland@arm.com> AArch64: Enable build on 64-bit AArch64 platform

Changes include
[x] Addition of a new function lstrtosize_t

Since size_t is not the same size as an unsigned int in
AArch64, a new function lstrtosize_t has been devised for
use in the shared/src/SessionTypeImpl.c and
srec/Recognizer/src/RecognizerImpl.c modules in place
of the lstrtoui function (which is for unsigned integers).

lstrtosize_t is implemented in the portable/src/LCHAR.c
module and declared in portable/include/LCHAR.h header file.

It makes use of the LSTRTOULL macro defined in the
portable/include/ptypes.h header file, indicating the
function to be used to convert an unsigned long long to a
string.

[x] Changes in srec/cfront/sh_down.h header file

This is because the value of LONG_MAX is different on
__LP64__ with 64-bit longs, and the function converts to
an int, not to a long.

[x] Changes to the srec/test/SRecTest/src/SRecTest.c
and srec/test/SRecTestAudio/src/SRecTestAudio.c modules

These changes correct the parameter types for the call to
SR_RecognizerPutAudio and pfread to be the expected size_t,
again because size_t is not the same as unsigned int in __LP64__.

[x] Rest of the changes are related to general conversion from
32-bit to 64-bit including proper casts of pointers, changes
from int to long, jint to jlong.

Change-Id: I3cc7d3a89161ab098a4bd133ea96b1158630b0e1
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
2706e1ca0c118cb78fbbbc977e4e95e14fdedebc 14-Jun-2013 Glenn Kasten <gkasten@google.com> AudioRecord must be used as sp<> only

Bug: 9423855
Change-Id: Ic89aa66383fae603f6a8ff23e61dd520f6e990af
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
1ff628462a7b6f122c350efb5e5b84052b4b6486 13-Jul-2012 Glenn Kasten <gkasten@google.com> AudioRecord::stop() returns void

like AudioTrack::stop()

Change-Id: I31015fee8bb8bf1650cc55b6e3f77b55e81c13cc
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
87937d3eed4c1d2eba95bf3a0071a8e9d88f7b98 26-Mar-2012 Glenn Kasten <gkasten@google.com> Remove AudioRecord record_flags

Change-Id: I69d781eca9fdf174dc5d8db0bebc35da2bdbae5e
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
0e94fe6807e53920046fa83715af4788b844ca95 09-Mar-2012 Glenn Kasten <gkasten@google.com> Use AudioRecord::record_flags consistently

Change-Id: I6466aa80bcffd41c8c874330167b7b5786cef26b
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
040dcc36996cded4371cc59dfc3a9e53247a61f5 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: I3719a243181c92dc8cc3fc5d3aa3da4c14e990df
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
570be96f35b570ee31c86a602cc6c050e03a1f3d 11-May-2011 Dima Zavin <dima@android.com> update for new audio.h header location

Change-Id: Ia8c12a63e39b9baad6e039d81100e5fbe5ff7dec
Signed-off-by: Dima Zavin <dima@android.com>
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
1b229941e91e25f6fa787b20cd6f53c818b2eb7f 06-Apr-2011 Dima Zavin <dima@android.com> srec: convert to use new audio.h

Change-Id: Ifc945f9fd99e40a051406b0a0889967ceae92ece
Signed-off-by: Dima Zavin <dima@android.com>
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
7390035ea61b32477243d60c452664150b61f023 06-Nov-2009 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 3119612 Set VoiceDialer to use the VOICE_RECOGNITION audio source.
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
85d4a2a8fe7c306f0e0cfd30f51e9015566c021d 17-Jul-2009 Eric Laurent <elaurent@google.com> Fix issue 1795088 Improve audio routing code

Integrated comments after patch set 1 review.
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
4a68b3365c8c50aa93505e99ead2565ab73dcdb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
e6733b78b94eb6701345e1a7244ab54dad60d47d 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
abbfd2c3d63580a0fdde5a0480f4ec6dd34e1fcf 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
c9dbe4c878cb0bfabd4255b25183a22de02bbfc1 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
848d1df23e9a0c0d98cb45905355eee05ce3fa34 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp
2ebd1d2ce82c4f10284c70a28ea62535349a7334 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/external/srec/srec_jni/android_speech_srec_MicrophoneInputStream.cpp