HomeSort by relevance Sort by last modified time
    Searched refs:mAudioBuffer (Results 1 - 6 of 6) sorted by null

  /frameworks/av/media/libmedia/
JetPlayer.cpp 145 if (mAudioBuffer) {
146 delete mAudioBuffer;
147 mAudioBuffer = NULL;
165 mAudioBuffer =
201 EAS_PCM* p = mAudioBuffer;
230 if ((temp = mAudioTrack->write(mAudioBuffer, num_output)) < 0) {
249 delete [] mAudioBuffer;
250 mAudioBuffer = NULL;
  /development/samples/TtsEngine/src/com/example/android/ttsengine/
RobotSpeakTtsService.java 56 private final byte[] mAudioBuffer = new byte[SAMPLING_RATE_HZ * 2];
235 ByteBuffer buffer = ByteBuffer.wrap(mAudioBuffer).order(ByteOrder.LITTLE_ENDIAN);
274 for (int i = 0; i < mAudioBuffer.length / 2; ++i) {
282 while (offset < mAudioBuffer.length) {
283 int bytesToWrite = Math.min(maxBufferSize, mAudioBuffer.length - offset);
284 cb.audioAvailable(mAudioBuffer, offset, bytesToWrite);
  /frameworks/av/media/libmediaplayerservice/
MidiFile.cpp 56 mEasData(NULL), mEasHandle(NULL), mAudioBuffer(NULL),
367 if (mAudioBuffer) {
447 mAudioBuffer = new EAS_PCM[pLibConfig->mixBufferSize * pLibConfig->numChannels * NUM_BUFFERS];
448 if (!mAudioBuffer) {
449 ALOGE("mAudioBuffer allocate failed");
479 EAS_PCM* p = mAudioBuffer;
504 if ((temp = mAudioSink->write(mAudioBuffer, num_output)) < 0) {
547 if (mAudioBuffer) {
548 delete [] mAudioBuffer;
549 mAudioBuffer = NULL
    [all...]
MidiFile.h 75 EAS_PCM* mAudioBuffer;
  /frameworks/av/libvideoeditor/vss/stagefrightshells/src/
VideoEditorMp3Reader.cpp 667 MediaBuffer *mAudioBuffer;
690 pReaderContext->mMediaSource->read(&mAudioBuffer, &options);
692 if (mAudioBuffer != NULL) {
694 (pAu->size < mAudioBuffer->range_length())) {
700 (mAudioBuffer->range_length() + 3) & ~0x3,
712 pAu->size = mAudioBuffer->range_length();
714 (const char *)mAudioBuffer->data() + mAudioBuffer->range_offset(),
715 mAudioBuffer->range_length());
717 mAudioBuffer->meta_data()->findInt64(kKeyTime, (int64_t*)&pAu->CTS)
    [all...]
  /frameworks/av/include/media/
JetPlayer.h 90 EAS_PCM* mAudioBuffer;// EAS renders the MIDI data into this buffer,

Completed in 289 milliseconds