merge in nyc-release history after reset to nyc-dev
diff --git a/src/android/AudioPlayer_to_android.cpp b/src/android/AudioPlayer_to_android.cpp
index 05fc5dd..f8ea870 100644
--- a/src/android/AudioPlayer_to_android.cpp
+++ b/src/android/AudioPlayer_to_android.cpp
@@ -1495,10 +1495,6 @@
policy = AUDIO_OUTPUT_FLAG_NONE;
}
- // negative notificationFrames is the number of notifications (sub-buffers) per track buffer
- // for details see the explanation at frameworks/av/include/media/AudioTrack.h
- const int32_t notificationFrames = -pAudioPlayer->mBufferQueue.mNumBuffers;
-
pAudioPlayer->mAudioTrack = new android::AudioTrack(
pAudioPlayer->mStreamType, // streamType
sampleRate, // sampleRate
@@ -1508,7 +1504,7 @@
policy, // flags
audioTrack_callBack_pullFromBuffQueue, // callback
(void *) pAudioPlayer, // user
- notificationFrames, // see comment above
+ 0, // FIXME find appropriate frame count // notificationFrame
pAudioPlayer->mSessionId);
android::status_t status = pAudioPlayer->mAudioTrack->initCheck();
if (status != android::NO_ERROR) {