Searched refs:mChannels (Results 1 – 10 of 10) sorted by relevance
/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/media/libmedia/ |
D | SoundPool.cpp | 67 mChannels.push_back(&mChannelPool[i]); in SoundPool() 82 mChannels.clear(); in ~SoundPool() 282 if (!mChannels.empty()) { in allocateChannel_l() 283 iter = mChannels.begin(); in allocateChannel_l() 286 mChannels.erase(iter); in allocateChannel_l() 294 for (iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in allocateChannel_l() 299 mChannels.insert(iter, channel); in allocateChannel_l() 307 for (List<SoundChannel*>::iterator iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in moveToFront_l() 309 mChannels.erase(iter); in moveToFront_l() 310 mChannels.push_front(channel); in moveToFront_l()
|
D | MediaProfiles.cpp | 102 ALOGV("number of channels: %d", codec.mChannels); in logAudioCodec() 1122 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 | 246 mChannels(channels) {} in AudioCodec() 252 mChannels = copy.mChannels; in AudioCodec() 260 int mChannels; member
|
D | SoundPool.h | 223 List<SoundChannel*> mChannels; variable
|
/frameworks/base/media/java/android/media/ |
D | AudioTrack.java | 187 private int mChannels = AudioFormat.CHANNEL_OUT_MONO; field in AudioTrack 327 mStreamType, mSampleRate, mChannels, mAudioFormat, in AudioTrack() 394 mChannels = AudioFormat.CHANNEL_OUT_MONO; in audioParamCheck() 399 mChannels = AudioFormat.CHANNEL_OUT_STEREO; in audioParamCheck() 406 mChannels = channelConfig; in audioParamCheck()
|
/frameworks/av/media/libstagefright/include/ |
D | AACEncoder.h | 52 int32_t mChannels; variable
|
/frameworks/av/media/libstagefright/ |
D | FLACExtractor.cpp | 571 unsigned mChannels; in init() member 586 if (table[i].mChannels >= getChannels() && in init()
|