OSDN Git Service

Use AudioRecord::record_flags consistently
authorGlenn Kasten <gkasten@google.com>
Wed, 7 Mar 2012 02:48:58 +0000 (18:48 -0800)
committerGlenn 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

index 16566c0..e288a6e 100644 (file)
@@ -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