Fixes samples Teapot/MoreTeapots armeabi-v7a-hard; native-audio debug build

Fixes two issues:
1. Remove redundant check for hard-float in Teapot/MoreTeapots and ndk_helper
   they depend.  The ndk-build system add those flags already for armeabi-v7a-hard
2. native-audio in debug build: assert on the non-existance var

Change-Id: Id6b2d38a264c2f2d0e0c7fe625991fcee1762800
This commit is contained in:
Andrew Hsieh
2014-05-12 11:57:33 +08:00
parent 4645251978
commit 7986b0872e
4 changed files with 2 additions and 28 deletions

View File

@@ -133,7 +133,7 @@ void bqPlayerCallback(SLAndroidSimpleBufferQueueItf bq, void *context)
// this callback handler is called every time a buffer finishes recording
void bqRecorderCallback(SLAndroidSimpleBufferQueueItf bq, void *context)
{
assert(bq == bqRecorderBufferQueue);
assert(bq == recorderBufferQueue);
assert(NULL == context);
// for streaming recording, here we would call Enqueue to give recorder the next buffer to fill
// but instead, this is a one-time buffer so we stop recording