Home
last modified time | relevance | path

Searched refs:setPlaybackRate (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaClock.h51 void setPlaybackRate(float rate);
/frameworks/av/cmds/stagefright/
DAudioPlayer.h65 status_t setPlaybackRate(const AudioPlaybackRate &rate);
DAudioPlayer.cpp410 status_t AudioPlayer::setPlaybackRate(const AudioPlaybackRate &rate) { in setPlaybackRate() function in android::AudioPlayer
412 return mAudioSink->setPlaybackRate(rate); in setPlaybackRate()
414 return mAudioTrack->setPlaybackRate(rate); in setPlaybackRate()
/frameworks/wilhelm/src/android/
Dandroid_GenericMediaPlayer.h94 virtual void setPlaybackRate(int32_t ratePermille);
Dandroid_GenericPlayer.h88 virtual void setPlaybackRate(int32_t ratePermille);
Dandroid_GenericMediaPlayer.cpp315 void GenericMediaPlayer::setPlaybackRate(int32_t ratePermille) { in setPlaybackRate() function in android::GenericMediaPlayer
317 GenericPlayer::setPlaybackRate(ratePermille); in setPlaybackRate()
Dandroid_GenericPlayer.cpp236 void GenericPlayer::setPlaybackRate(int32_t ratePermille) { in setPlaybackRate() function in android::GenericPlayer
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixer.h100 bool setPlaybackRate(const AudioPlaybackRate &playbackRate);
DBufferProviders.h210 virtual status_t setPlaybackRate(const AudioPlaybackRate &playbackRate);
/frameworks/av/media/libaudioprocessing/
DAudioMixer.cpp441 if (track->setPlaybackRate(*playbackRate)) { in setParameter()
461 bool AudioMixer::Track::setPlaybackRate(const AudioPlaybackRate &playbackRate) in setPlaybackRate() function in android::AudioMixer::Track
479 ->setPlaybackRate(playbackRate); in setPlaybackRate()
DBufferProviders.cpp443 setPlaybackRate(playbackRate); in TimestretchBufferProvider()
572 status_t TimestretchBufferProvider::setPlaybackRate(const AudioPlaybackRate &playbackRate) in setPlaybackRate() function in android::TimestretchBufferProvider
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp163 mMediaClock->setPlaybackRate(mPlaybackRate); in Renderer()
232 status_t err = mAudioSink->setPlaybackRate(rate); in onConfigPlayback()
239 mMediaClock->setPlaybackRate(mPlaybackRate); in onConfigPlayback()
1814 mMediaClock->setPlaybackRate(0.0); in onPause()
1851 mAudioSink->setPlaybackRate(mPlaybackSettings); in onResume()
1854 mMediaClock->setPlaybackRate(mPlaybackRate); in onResume()
2033 err = mAudioSink->setPlaybackRate(mPlaybackSettings); in onOpenAudioSink()
2105 LOG_ALWAYS_FATAL_IF(mAudioSink->setPlaybackRate(mPlaybackSettings) != OK, in onOpenAudioSink()
/frameworks/av/media/libstagefright/
DMediaSync.cpp168 && audioTrack->setPlaybackRate(mPlaybackSettings) != OK) { in setAudioTrack()
253 mMediaClock->setPlaybackRate(rate); in updatePlaybackRate_l()
448 status_t err = mAudioTrack->setPlaybackRate(rate); in setPlaybackSettings_l()
DMediaClock.cpp129 void MediaClock::setPlaybackRate(float rate) { in setPlaybackRate() function in android::MediaClock
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioTrackTest.java550 assertTrue(TEST_NAME, track.setPlaybackRate((int)(TEST_SR/2)) == AudioTrack.SUCCESS); in testSetPlaybackRate()
572 assertTrue(TEST_NAME, track.setPlaybackRate(0) == AudioTrack.ERROR_BAD_VALUE); in testSetPlaybackRateZero()
599 assertTrue(TEST_NAME, track.setPlaybackRate(2*outputSR) == AudioTrack.SUCCESS); in testSetPlaybackRateTwiceOutputSR()
625 track.setPlaybackRate((int)(TEST_SR/2)); in testSetGetPlaybackRate()
649 track.setPlaybackRate(TEST_SR/2) == AudioTrack.ERROR_INVALID_OPERATION); in testSetPlaybackRateUninit()
/frameworks/av/include/media/
DMediaPlayerInterface.h145 virtual status_t setPlaybackRate(const AudioPlaybackRate& rate) = 0;
/frameworks/av/media/libmediaplayerservice/include/
DMediaPlayerInterface.h145 virtual status_t setPlaybackRate(const AudioPlaybackRate& rate) = 0;
/frameworks/av/include/private/media/
DAudioTrackShared.h473 void setPlaybackRate(const AudioPlaybackRate& playbackRate) {
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h127 virtual status_t setPlaybackRate(const AudioPlaybackRate& rate);
DMediaPlayerService.cpp2335 res = mTrack->setPlaybackRate(mPlaybackRate); in updateTrack()
2508 status_t MediaPlayerService::AudioOutput::setPlaybackRate(const AudioPlaybackRate &rate) in setPlaybackRate() function in android::MediaPlayerService::AudioOutput
2518 status_t res = mTrack->setPlaybackRate(rate); in setPlaybackRate()
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h739 status_t setPlaybackRate(const AudioPlaybackRate &playbackRate);
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp1389 status_t AudioTrack::setPlaybackRate(const AudioPlaybackRate &playbackRate) in setPlaybackRate() function in android::AudioTrack
1448 mProxy->setPlaybackRate(playbackRateTemp); in setPlaybackRate()
2124 mProxy->setPlaybackRate(playbackRateTemp); in createTrack_l()
/frameworks/av/media/libaudioclient/fuzzer/
Daudioflinger_fuzzer.cpp274 track->setPlaybackRate(playbackRate); in invokeAudioTrack()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp866 if (lpTrack->setPlaybackRate(rate) != OK) { in android_media_AudioTrack_set_playback_params()
/frameworks/base/media/java/android/media/
DAudioTrack.java2717 public int setPlaybackRate(int sampleRateInHz) { in setPlaybackRate() method in AudioTrack

12