Searched refs:pbs (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/jni/ |
D | android_media_MediaSync.cpp | 323 PlaybackParams pbs; in android_media_MediaSync_setPlaybackParams() local 324 pbs.fillFromJobject(env, gPlaybackParamsFields, params); in android_media_MediaSync_setPlaybackParams() 326 pbs.speedSet, pbs.audioRate.mSpeed, in android_media_MediaSync_setPlaybackParams() 327 pbs.pitchSet, pbs.audioRate.mPitch, in android_media_MediaSync_setPlaybackParams() 328 pbs.audioFallbackModeSet, pbs.audioRate.mFallbackMode, in android_media_MediaSync_setPlaybackParams() 329 pbs.audioStretchModeSet, pbs.audioRate.mStretchMode); in android_media_MediaSync_setPlaybackParams() 334 if (pbs.speedSet) { in android_media_MediaSync_setPlaybackParams() 335 rate.mSpeed = pbs.audioRate.mSpeed; in android_media_MediaSync_setPlaybackParams() 338 if (pbs.pitchSet) { in android_media_MediaSync_setPlaybackParams() 339 rate.mPitch = pbs.audioRate.mPitch; in android_media_MediaSync_setPlaybackParams() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 862 PlaybackParams pbs; in android_media_AudioTrack_get_playback_params() local 863 pbs.audioRate = lpTrack->getPlaybackRate(); in android_media_AudioTrack_get_playback_params() 864 pbs.speedSet = true; in android_media_AudioTrack_get_playback_params() 865 pbs.pitchSet = true; in android_media_AudioTrack_get_playback_params() 866 pbs.audioFallbackModeSet = true; in android_media_AudioTrack_get_playback_params() 867 pbs.audioStretchModeSet = true; in android_media_AudioTrack_get_playback_params() 868 return pbs.asJobject(env, gPlaybackParamsFields); in android_media_AudioTrack_get_playback_params()
|