Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_MediaSync.cpp323 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/opt/gamesdk/src/tuningfork/
Dtuningfork_c.cpp28 void ToCProtobufSerialization(const tuningfork::ProtobufSerialization& pbs, in ToCProtobufSerialization() argument
30 cpbs->bytes = (uint8_t*)::malloc(pbs.size()); in ToCProtobufSerialization()
31 memcpy(cpbs->bytes, pbs.data(), pbs.size()); in ToCProtobufSerialization()
32 cpbs->size = pbs.size(); in ToCProtobufSerialization()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp867 PlaybackParams pbs; in android_media_AudioTrack_get_playback_params() local
868 pbs.audioRate = lpTrack->getPlaybackRate(); in android_media_AudioTrack_get_playback_params()
869 pbs.speedSet = true; in android_media_AudioTrack_get_playback_params()
870 pbs.pitchSet = true; in android_media_AudioTrack_get_playback_params()
871 pbs.audioFallbackModeSet = true; in android_media_AudioTrack_get_playback_params()
872 pbs.audioStretchModeSet = true; in android_media_AudioTrack_get_playback_params()
873 return pbs.asJobject(env, gPlaybackParamsFields); in android_media_AudioTrack_get_playback_params()