/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | AACEncoder.cpp | 48 CHECK(mMeta->findInt32(kKeyChannelCount, &mChannels)); in initCheck() 49 CHECK(mChannels <= 2 && mChannels >= 1); in initCheck() 86 params.nChannels = mChannels; in initCheck() 115 mSampleRate, mBitRate, mChannels); in setAudioSpecificConfigData() 119 if (mChannels > 2 || mChannels <= 0) { in setAudioSpecificConfigData() 120 ALOGE("Unsupported number of channels(%d)", mChannels); in setAudioSpecificConfigData() 126 mAudioSpecificConfigData[1] = ((index & 0x01) << 7) | (mChannels << 3); in setAudioSpecificConfigData() 151 mInputFrame = new int16_t[mChannels * kNumSamplesPerFrame]; in start() 242 const int32_t nSamples = mChannels * kNumSamplesPerFrame; in read()
|
/frameworks/av/services/audioflinger/tests/ |
D | test_utils.h | 239 mChannels(0) 253 createChirp<T>(mAddr, mNumFrames, mChannels, mSampleRate, minfreq, maxfreq); 261 createSine<T>(mAddr, mNumFrames, mChannels, mSampleRate, freq); 287 mChannels = channels; 288 mFrameSize = mChannels * sizeof(T); 299 return mChannels; 304 uint32_t mChannels;
|
/frameworks/av/media/libmedia/ |
D | SoundPool.cpp | 71 mChannels.push_back(&mChannelPool[i]); in SoundPool() 86 mChannels.clear(); in ~SoundPool() 286 if (!mChannels.empty()) { in allocateChannel_l() 287 iter = mChannels.begin(); in allocateChannel_l() 290 mChannels.erase(iter); in allocateChannel_l() 298 for (iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in allocateChannel_l() 303 mChannels.insert(iter, channel); in allocateChannel_l() 311 for (List<SoundChannel*>::iterator iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in moveToFront_l() 313 mChannels.erase(iter); in moveToFront_l() 314 mChannels.push_front(channel); in moveToFront_l()
|
D | MediaProfiles.cpp | 117 ALOGV("number of channels: %d", codec.mChannels); in logAudioCodec() 1145 if (!strcmp("aud.ch", name)) return mCamcorderProfiles[index]->mAudioCodec->mChannels; in getCamcorderProfileParamByName()
|
/frameworks/ex/variablespeed/jni/ |
D | variablespeed.cc | 295 mSampleRate(0), mChannels(0), in AudioEngine() 374 (result * 1000) / mSampleRate / mChannels + startPositionMillis_); in GetCurrentPosition() 387 timeScaler_->Init(mSampleRate, mChannels, initialRate_, windowDuration_, in GetTimeScaler() 398 channels = mChannels; in EnqueueNextBufferOfAudio() 557 switch (mChannels) { in GetSLChannels() 563 LOGE("unknown channels %d, using 2", mChannels); in GetSLChannels() 570 return mChannels; in GetChannelCount() 601 return mChannels != 0 && mSampleRate != 0; in HasSampleRateAndChannels() 691 floatBuffer_ = new float[targetFrames_ * mChannels]; in PlayFromThisSource() 692 injectBuffer_ = new float[targetFrames_ * mChannels]; in PlayFromThisSource() [all …]
|
D | variablespeed.h | 119 SLuint32 mChannels; variable
|
/frameworks/av/include/media/ |
D | MediaProfiles.h | 257 mChannels(channels) {} in AudioCodec() 263 mChannels = copy.mChannels; in AudioCodec() 271 int mChannels; member
|
D | SoundPool.h | 222 List<SoundChannel*> mChannels; variable
|
/frameworks/base/media/java/android/media/ |
D | AudioTrack.java | 231 private int mChannels = AudioFormat.CHANNEL_OUT_MONO; field in AudioTrack 447 mSampleRate, mChannels, mAudioFormat, in AudioTrack() 502 mChannels = AudioFormat.CHANNEL_OUT_MONO; in audioParamCheck() 507 mChannels = AudioFormat.CHANNEL_OUT_STEREO; in audioParamCheck() 514 mChannels = channelConfig; in audioParamCheck()
|
/frameworks/av/media/libstagefright/include/ |
D | AACEncoder.h | 52 int32_t mChannels; variable
|
/frameworks/av/media/libstagefright/ |
D | FLACExtractor.cpp | 592 unsigned mChannels; in init() member 607 if (table[i].mChannels >= getChannels() && in init()
|
/frameworks/av/services/audioflinger/ |
D | AudioMixer.h | 358 const int32_t mChannels;
|
D | AudioMixer.cpp | 364 mChannels(channels), in ReformatBufferProvider() 373 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannels); in copyFrames()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 1919 private final InputChannel[] mChannels; field in TvInputManagerService.SessionCallback 1923 mChannels = channels; in SessionCallback() 1936 mSessionState.info.getId(), mSessionState.sessionToken, mChannels[0], in onSessionCreated() 1943 mChannels[0].dispose(); in onSessionCreated()
|