Home
last modified time | relevance | path

Searched refs:newTrack (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/
DMediaMuxer.cpp82 sp<MediaAdapter> newTrack = new MediaAdapter(trackMeta); in addTrack() local
83 status_t result = mWriter->addSource(newTrack); in addTrack()
85 return mTrackList.add(newTrack); in addTrack()
/frameworks/av/media/libmedia/
DSoundPool.cpp549 sp<AudioTrack> newTrack; in play() local
608 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), in play()
611 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), in play()
616 status = newTrack->initCheck(); in play()
621 ALOGV("setVolume %p", newTrack.get()); in play()
622 newTrack->setVolume(leftVolume, rightVolume); in play()
623 newTrack->setLoop(0, frameCount, loop); in play()
627 mAudioTrack = newTrack; in play()
640 mAudioBufferSize = newTrack->frameCount()*newTrack->frameSize(); in play()