Home
last modified time | relevance | path

Searched refs:mChannels (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/
DAACEncoder.cpp48 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/
DSoundPool.cpp67 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()
DMediaProfiles.cpp102 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/
Dvariablespeed.cc295 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 …]
Dvariablespeed.h119 SLuint32 mChannels; variable
/frameworks/av/include/media/
DMediaProfiles.h246 mChannels(channels) {} in AudioCodec()
252 mChannels = copy.mChannels; in AudioCodec()
260 int mChannels; member
DSoundPool.h223 List<SoundChannel*> mChannels; variable
/frameworks/base/media/java/android/media/
DAudioTrack.java187 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/
DAACEncoder.h52 int32_t mChannels; variable
/frameworks/av/media/libstagefright/
DFLACExtractor.cpp571 unsigned mChannels; in init() member
586 if (table[i].mChannels >= getChannels() && in init()