Home
last modified time | relevance | path

Searched refs:mChannelCount (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/media/libstagefright/
DAACWriter.cpp40 mChannelCount(-1), in AACWriter()
57 mChannelCount(-1), in AACWriter()
97 CHECK(meta->findInt32(kKeyChannelCount, &mChannelCount)); in addSource()
99 CHECK(mChannelCount >= 1 && mChannelCount <= 2); in addSource()
261 const uint8_t kChannelConfigCode = mChannelCount; in writeAdtsHeader()
/frameworks/base/core/java/android/speech/tts/
DSynthesisMessageParams.java33 final int mChannelCount; field in SynthesisMessageParams
66 mChannelCount = channelCount; in SynthesisMessageParams()
71 mBytesPerFrame = getBytesPerFrame(mAudioFormat) * mChannelCount; in SynthesisMessageParams()
DFileSynthesisCallback.java45 private int mChannelCount; field in FileSynthesisCallback
113 mChannelCount = channelCount; in start()
170 makeWavHeader(mSampleRateInHz, mAudioFormat, mChannelCount, dataLength)); in done()
DAudioPlaybackHandler.java559 final int channelConfig = getChannelConfig(params.mChannelCount); in createStreamingAudioTrack()
/frameworks/base/media/java/android/media/
DAudioRecord.java134 private int mChannelCount = 1; field in AudioRecord
288 mChannelCount = 1; in audioParamCheck()
293 mChannelCount = 2; in audioParamCheck()
297 mChannelCount = 0; in audioParamCheck()
330 int frameSizeInBytes = mChannelCount in audioBuffSizeCheck()
402 return mChannelCount; in getChannelCount()
DAudioTrack.java187 private int mChannelCount = 1; field in AudioTrack
384 mChannelCount = 1; in audioParamCheck()
389 mChannelCount = 2; in audioParamCheck()
393 mChannelCount = 0; in audioParamCheck()
434 int frameSizeInBytes = mChannelCount in audioBuffSizeCheck()
531 return mChannelCount; in getChannelCount()
/frameworks/media/libvideoeditor/lvpp/
DDummyAudioSource.cpp76 mChannelCount(channelCount), in DummyAudioSource()
113 mNumberOfSamplePerFrame = mNumberOfSamplePerFrame * mChannelCount; in start()
147 meta->setInt32(kKeyChannelCount, mChannelCount); in getFormat()
DDummyAudioSource.h60 int32_t mChannelCount; member
/frameworks/base/media/libmediaplayerservice/
DMediaPlayerService.h130 … virtual bool ready() const { return (mChannelCount > 0) && (mHeap->getHeapID() > 0); } in ready()
134 virtual ssize_t channelCount() const { return (ssize_t)mChannelCount; } in channelCount()
135 …virtual ssize_t frameSize() const { return ssize_t(mChannelCount * ((mFormat == AUDIO_FORM… in frameSize()
172 uint16_t mChannelCount; variable
DMediaPlayerService.cpp303 mMsecsPerFrame, mChannelCount, mFormat, mFrameCount); in dump()
1529 mChannelCount(0), mFrameCount(1024), mSampleRate(0), mSize(0), in AudioCache()
1627 mChannelCount = (uint16_t)channelCount; in open()
/frameworks/base/include/media/stagefright/
DAACWriter.h60 int32_t mChannelCount; member
/frameworks/base/services/audioflinger/
DAudioResampler.h76 int32_t mChannelCount; variable
DAudioResampler.cpp119 mBitDepth(bitDepth), mChannelCount(inChannelCount), in AudioResampler()
170 switch (mChannelCount) { in resample()
DAudioResamplerCubic.cpp42 switch (mChannelCount) { in resample()
DAudioFlinger.cpp975 mAudioFlinger(audioFlinger), mSampleRate(0), mFrameCount(0), mChannelCount(0), in ThreadBase()
1017 return (int)mChannelCount; in channelCount()
1104 snprintf(buffer, SIZE, "Channel Count: %d\n", mChannelCount); in dumpBase()
1715 mChannelCount = (uint16_t)popcount(mChannelMask); in readOutputParameters()
1823 if (mChannelCount == 1) { in MixerThread()
2225 memset(mMixBuffer, 0, mFrameCount * mChannelCount * sizeof(int16_t)); in prepareTracks_l()
2447 size_t count = mFrameCount * mChannelCount; in applyVolume()
2458 if (mChannelCount == 1) { in applyVolume()
2484 if (mChannelCount == 1) { in applyVolume()
2500 size_t count = mFrameCount * mChannelCount; in applyVolume()
[all …]
DAudioResamplerSinc.cpp178 switch (mChannelCount) { in resample()
DAudioFlinger.h388 uint8_t mChannelCount; variable
544 uint16_t mChannelCount; variable
/frameworks/base/include/media/
DAudioRecord.h368 uint8_t mChannelCount; variable
DAudioTrack.h464 uint8_t mChannelCount; variable
/frameworks/base/media/libmedia/
DAudioRecord.cpp221 mChannelCount = (uint8_t)channelCount; in set()
261 return mChannelCount; in channelCount()
578 audioBuffer->channelCount= mChannelCount; in obtainBuffer()
DAudioTrack.cpp251 mChannelCount = channelCount; in set()
293 return mChannelCount; in channelCount()
936 audioBuffer->channelCount = mChannelCount; in obtainBuffer()
1274 …, 255, " format(%d), channel count(%d), frame count(%d)\n", mFormat, mChannelCount, mCblk->frameC… in dump()