OSDN Git Service
(root)
/
android-x86
/
system-media.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac12fb0
)
Use AudioRecord::record_flags consistently
author
Glenn Kasten
<gkasten@google.com>
Wed, 7 Mar 2012 02:48:58 +0000
(18:48 -0800)
committer
Glenn Kasten
<gkasten@google.com>
Fri, 9 Mar 2012 02:04:38 +0000
(18:04 -0800)
Change-Id: Ibb185b1c461df2c17061a8a0d62cba0611a89e1e
wilhelm/src/android/AudioRecorder_to_android.cpp
patch
|
blob
|
history
diff --git
a/wilhelm/src/android/AudioRecorder_to_android.cpp
b/wilhelm/src/android/AudioRecorder_to_android.cpp
index
16566c0
..
e288a6e
100644
(file)
--- a/
wilhelm/src/android/AudioRecorder_to_android.cpp
+++ b/
wilhelm/src/android/AudioRecorder_to_android.cpp
@@
-401,7
+401,7
@@
SLresult android_audioRecorder_realize(CAudioRecorder* ar, SLboolean async) {
sles_to_android_channelMaskIn(ar->mNumChannels, 0 /*no channel mask*/),
// channel config
0, //frameCount min
-
0,
// flags
+
(android::AudioRecord::record_flags) 0,
// flags
audioRecorder_callback,// callback_t
(void*)ar, // user, callback data, here the AudioRecorder
0, // notificationFrames