Searched refs:frameSize (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/libs/audioflinger/
H A DA2dpAudioInterface.h82 virtual uint32_t latency() const { return ((1000*bufferSize())/frameSize())/sampleRate() + 200; }
H A DA2dpAudioInterface.cpp198 usleep(bytes * 1000000 / frameSize() / sampleRate());
H A DAudioFlinger.cpp150 uint32_t frameCount = ((a2dpOutput->bufferSize()/a2dpOutput->frameSize()) * hwOutput->sampleRate()) / a2dpOutput->sampleRate();
2422 inFrameCount = inBufferSize/input->frameSize();
/frameworks/base/media/libmediaplayerservice/
H A DMediaPlayerService.h69 virtual ssize_t frameSize() const;
110 virtual ssize_t bufferSize() const { return frameSize() * mFrameCount; }
113 virtual ssize_t frameSize() const { return ssize_t(mChannelCount * ((mFormat == AudioSystem::PCM_16_BIT)?sizeof(int16_t):sizeof(u_int8_t))); } function in class:android::MediaPlayerService::AudioCache
H A DMediaPlayerService.cpp969 return mTrack->frameCount() * frameSize();
984 ssize_t MediaPlayerService::AudioOutput::frameSize() const function in class:android::MediaPlayerService::AudioOutput
987 return mTrack->frameSize();
/frameworks/base/include/media/
H A DMediaPlayerInterface.h58 virtual ssize_t frameSize() const = 0;
H A DAudioRecord.h203 int frameSize() const;
H A DAudioTrack.h207 int frameSize() const;
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp152 int frameSize = nbChannels * bytesPerSample; local
153 size_t frameCount = buffSizeInBytes / frameSize;
328 ssize_t recorderBuffSize = lpRecorder->frameCount()*lpRecorder->frameSize();
/frameworks/base/media/libmedia/
H A DAudioRecord.cpp235 int AudioRecord::frameSize() const function in class:android::AudioRecord
H A DAudioTrack.cpp298 int AudioTrack::frameSize() const function in class:android::AudioTrack
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp562 mAudioBufferSize = newTrack->frameCount()*newTrack->frameSize();

Completed in 158 milliseconds