Lines Matching refs:AudioTrack
726 sp<AudioTrack> oldTrack; in play()
727 sp<AudioTrack> newTrack; in play()
800 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), in play()
803 AudioTrack::TRANSFER_DEFAULT, in play()
807 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), in play()
809 bufferFrames, AUDIO_SESSION_ALLOCATE, AudioTrack::TRANSFER_DEFAULT, in play()
896 AudioTrack::Buffer* b = NULL; in process()
897 if (event == AudioTrack::EVENT_MORE_DATA) { in process()
898 b = static_cast<AudioTrack::Buffer *>(info); in process()
913 if (event == AudioTrack::EVENT_MORE_DATA) { in process()
950 } else if (event == AudioTrack::EVENT_UNDERRUN || event == AudioTrack::EVENT_BUFFER_END) { in process()
952 this, mChannelID, (event == AudioTrack::EVENT_UNDERRUN) ? "UNDERRUN" : in process()
957 } else if (event == AudioTrack::EVENT_LOOP_END) { in process()
959 } else if (event == AudioTrack::EVENT_NEW_IAUDIOTRACK) { in process()