Searched defs:frameCount (Results 26 - 34 of 34) sorted by last modified time

12

/frameworks/av/media/libeffects/testlibs/
H A DAudioShelvingFilter.h93 // frameCount * nChannels interlaced samples. Processing can be done
97 // frameCount Number of frames to produce.
99 int frameCount) { mBiquad.process(in, out, frameCount); }
98 process(const audio_sample_t in[], audio_sample_t out[], int frameCount) argument
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp39 int* frameCount,
44 if (frameCount == NULL) return BAD_VALUE;
47 *frameCount = 0;
70 *frameCount = size;
87 int frameCount,
96 frameCount, cbf, user, notificationFrames, sessionId);
122 int frameCount,
130 ALOGV("set(): sampleRate %d, channelMask %#x, frameCount %d",sampleRate, channelMask, frameCount);
186 if (frameCount
38 getMinFrameCount( int* frameCount, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask) argument
82 AudioRecord( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
117 set( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, callback_t cbf, void* user, int notificationFrames, bool threadCanCallJava, int sessionId) argument
255 uint32_t AudioRecord::frameCount() const function in class:android::AudioRecord
425 openRecord_l( uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_io_handle_t input) argument
[all...]
H A DAudioSystem.cpp255 status_t AudioSystem::getOutputFrameCount(int* frameCount, int streamType) { argument
256 return getOutputFrameCount(frameCount, (audio_stream_type_t)streamType);
259 status_t AudioSystem::getOutputFrameCount(int* frameCount, audio_stream_type_t streamType) argument
272 return getFrameCount(output, streamType, frameCount);
277 int* frameCount)
287 *frameCount = af->frameCount(output);
289 *frameCount = outputDesc->frameCount;
293 ALOGV("getFrameCount() streamType %d, output %d, frameCount
275 getFrameCount(audio_io_handle_t output, audio_stream_type_t streamType, int* frameCount) argument
[all...]
H A DAudioTrack.cpp53 int* frameCount,
57 if (frameCount == NULL) return BAD_VALUE;
60 *frameCount = 0;
85 *frameCount = (sampleRate == 0) ? afFrameCount * minBufCount :
88 *frameCount, afFrameCount, minBufCount, afSampleRate, afLatency);
107 int frameCount,
119 frameCount, flags, cbf, user, notificationFrames,
129 int frameCount,
141 frameCount, (audio_output_flags_t)flags, cbf, user, notificationFrames,
162 0 /*frameCount*/, flag
52 getMinFrameCount( int* frameCount, audio_stream_type_t streamType, uint32_t sampleRate) argument
102 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
124 AudioTrack( int streamType, uint32_t sampleRate, int format, int channelMask, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
186 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId) argument
352 uint32_t AudioTrack::frameCount() const function in class:android::AudioTrack
749 createTrack_l( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output) argument
1514 stepUser(uint32_t frameCount) argument
1552 stepServer(uint32_t frameCount) argument
[all...]
H A DIAudioFlinger.cpp92 int frameCount,
108 data.writeInt32(frameCount);
141 int frameCount,
155 data.writeInt32(frameCount);
209 virtual size_t frameCount(audio_io_handle_t output) const function in class:android::BpAudioFlinger
779 reply->writeInt32( frameCount((audio_io_handle_t) data.readInt32()) );
86 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
135 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument
H A DSoundPool.cpp584 uint32_t frameCount = 0; local
587 frameCount = sample->size()/numChannels/
593 if(frameCount < totalFrames) {
594 frameCount = totalFrames;
614 channels, frameCount, AUDIO_OUTPUT_FLAG_FAST, callback, userData,
625 newTrack->setLoop(0, frameCount, loop);
642 mAudioBufferSize = newTrack->frameCount()*newTrack->frameSize();
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1328 return mTrack->frameCount() * frameSize();
1331 ssize_t MediaPlayerService::AudioOutput::frameCount() const function in class:android::MediaPlayerService::AudioOutput
1334 return mTrack->frameCount();
1392 uint32_t frameCount; local
1401 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate;
1420 frameCount,
1432 frameCount,
1459 (mRecycledTrack->frameCount() != t->frameCount())) {
1463 mRecycledTrack->frameCount(),
[all...]
H A DMediaPlayerService.h84 virtual ssize_t frameCount() const;
185 virtual ssize_t frameCount() const { return mFrameCount; } function in class:android::MediaPlayerService::AudioCache
/frameworks/av/media/libstagefright/
H A DAudioSource.cpp69 int frameCount = kMaxBufferSize / sizeof(int16_t) / channelCount; local
73 while ((bufCount * frameCount) < minFrameCount) {
80 bufCount * frameCount,
83 frameCount);

Completed in 558 milliseconds

12