Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp280 sp<AudioTrack> lpTrack; in android_media_AudioTrack_setup() local
329 lpTrack = sp<AudioTrack>::make(attributionSource); in android_media_AudioTrack_setup()
368 status = lpTrack->set(AUDIO_STREAM_DEFAULT, // stream type, but more info conveyed in android_media_AudioTrack_setup()
397 status = lpTrack->set(AUDIO_STREAM_DEFAULT, // stream type, but more info conveyed in android_media_AudioTrack_setup()
425 lpTrack->setCallerName("java"); in android_media_AudioTrack_setup()
427 lpTrack = sp<AudioTrack>::fromExisting(reinterpret_cast<AudioTrack*>(nativeAudioTrack)); in android_media_AudioTrack_setup()
458 lpTrack->setAudioTrackCallback(lpJniStorage->mAudioTrackCallback); in android_media_AudioTrack_setup()
466 nSession[0] = lpTrack->getSessionId(); in android_media_AudioTrack_setup()
471 const jint elements[1] = { (jint) lpTrack->getSampleRate() }; in android_media_AudioTrack_setup()
477 setFieldSp(env, thiz, lpTrack, javaAudioTrackFields.nativeTrackInJavaObj); in android_media_AudioTrack_setup()
[all …]