/frameworks/wilhelm/src/itf/ |
IMuteSolo.c | 33 SLuint8 numChannels = ap->mNumChannels; 34 if (1 >= numChannels) { 37 } else if (numChannels <= chan) { 73 SLuint8 numChannels = ap->mNumChannels; 74 if (1 >= numChannels) { 77 } else if (numChannels <= chan) { 105 SLuint8 numChannels = ap->mNumChannels; 106 if (1 >= numChannels) { 109 } else if (numChannels <= chan) { 145 SLuint8 numChannels = ap->mNumChannels [all...] |
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
msm_audio_wmapro.h | 12 uint8_t numchannels; member in struct:msm_audio_wmapro_config
|
msm_audio_wma.h | 24 unsigned short numchannels; member in struct:msm_audio_wma_config_v2
|
/hardware/qcom/msm8x74/original-kernel-headers/linux/ |
msm_audio_wmapro.h | 12 uint8_t numchannels; member in struct:msm_audio_wmapro_config
|
msm_audio_wma.h | 24 unsigned short numchannels; member in struct:msm_audio_wma_config_v2
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
LVC_Mixer_SetTimeConstant.c | 29 /* Delta=(2147483647*4*1000)/(NumChannels*SampleRate*Tc_millisec) */ 38 /* NumChannels - Number of channels in Audio Stream 1=Mono, 2=Stereo */ 43 /* Sample Rate and NumChannels */ 51 LVM_INT16 NumChannels) 64 Delta=Delta>>(NumChannels-1); 74 pInstance->Delta=Delta; // Delta=(2147483647*4*1000)/(NumChannels*SampleRate*Tc_millisec) in Q 0.31 format
|
LVC_Mixer_VarSlope_SetTimeConstant.c | 30 /* Delta=(2147483647*4*1000)/(NumChannels*SampleRate*Tc_millisec) */ 39 /* NumChannels - Number of channels in Audio Stream 1=Mono, 2=Stereo */ 44 /* Sample Rate and NumChannels */ 52 LVM_INT16 NumChannels) 69 Delta=Delta>>(NumChannels-1); 94 pInstance->Delta=Delta; // Delta=(2147483647*4*1000)/(NumChannels*SampleRate*Tc_millisec) in Q 0.31 format
|
LVM_Mixer_TimeConstant.c | 47 /* 1. NumChannels is limited to the values 1 (Mono) and 2 (Stereo) */ 54 /* NumChannels - Number of channels 1=Mono, 2=Stereo */ 63 LVM_UINT16 NumChannels) 127 if (NumChannels == 1)
|
LVC_Mixer.h | 92 LVM_INT16 NumChannels); 97 LVM_INT16 NumChannels);
|
/frameworks/av/cmds/stagefright/ |
SineSource.cpp | 12 SineSource::SineSource(int32_t sampleRate, int32_t numChannels) 15 mNumChannels(numChannels), 18 CHECK(numChannels == 1 || numChannels == 2);
|
SineSource.h | 12 SineSource(int32_t sampleRate, int32_t numChannels);
|
/frameworks/wilhelm/tests/sandbox/ |
configbq.c | 28 SLuint8 numChannels; 98 for (format = formats; format->numChannels; ++format) { 100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels, 109 format_pcm.numChannels = format->numChannels; 150 float seconds = (((i * 8) / (format->bitsPerSample * format->numChannels)) * 1000.0) / 154 if (2 == format->numChannels) { 166 assert(1 == format->numChannels);
|
srcsink.c | 44 format_pcm.numChannels = 2; 109 format_pcm.numChannels = 0; 114 format_pcm.numChannels = 3; 119 format_pcm.numChannels = 2; 178 format_pcm.numChannels = 1; 190 format_pcm.numChannels = 2;
|
/frameworks/base/core/java/android/speech/srec/ |
WaveHeader.java | 28 * <li> numChannels - 1 for mono, 2 for stereo. 68 * @param numChannels 1 for mono, 2 for stereo. 73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) { 76 mNumChannels = numChannels; 111 * @param numChannels 1 for mono, 2 for stereo. 114 public WaveHeader setNumChannels(short numChannels) { 115 mNumChannels = numChannels; 272 "WaveHeader format=%d numChannels=%d sampleRate=%d bitsPerSample=%d numBytes=%d",
|
/frameworks/wilhelm/tests/listening/ |
slesTest_playMuteSolo.cpp | 107 SLuint8 numChannels = 0; 108 SLresult res = (*muteSolo)->GetNumChannels(muteSolo, &numChannels); ExitOnError(res); 109 //fprintf(stdout, "Content has %d channel(s)\n", numChannels); 117 if (numChannels > 1) { // SLMuteSoloItf only works if more than one channel 137 if (numChannels > 1) { // SLMuteSoloItf only works if more than one channel 278 SLuint8 numChannels = 123; 279 result = (*muteSoloItf)->GetNumChannels(muteSoloItf, &numChannels); 280 printf("GetNumChannels after Realize but before pre-fetch: result=%u, numChannels=%u\n", 281 result, numChannels); 330 numChannels = 123 [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
APacketSource.cpp | 473 int32_t sampleRate, numChannels; 475 desc.c_str(), &sampleRate, &numChannels); 478 mFormat->setInt32(kKeyChannelCount, numChannels); 489 int32_t sampleRate, numChannels; 491 desc.c_str(), &sampleRate, &numChannels); 494 mFormat->setInt32(kKeyChannelCount, numChannels); 496 if (sampleRate != 8000 || numChannels != 1) { 502 int32_t sampleRate, numChannels; 504 desc.c_str(), &sampleRate, &numChannels); 507 mFormat->setInt32(kKeyChannelCount, numChannels); [all...] |
ARawAudioAssembler.cpp | 134 int32_t sampleRate, numChannels; 136 desc, &sampleRate, &numChannels); 139 format->setInt32(kKeyChannelCount, numChannels);
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
SoftAAC2.cpp | 187 aacParams->nChannels = mStreamInfo->numChannels; 220 pcmParams->nChannels = mStreamInfo->numChannels; 292 if (mStreamInfo->numChannels > 2) { 298 mStreamInfo->numChannels = 2; 339 // and numChannels are valid. 340 if (mStreamInfo->sampleRate && mStreamInfo->numChannels) { 344 mStreamInfo->numChannels); 391 * mStreamInfo->numChannels; 471 int prevNumChannels = mStreamInfo->numChannels; 492 mStreamInfo->frameSize * sizeof(int16_t) * mStreamInfo->numChannels; [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
FlatManifestWriterImpl.java | 454 int numChannels = 0; 458 numChannels += 1; 463 numChannels += 2; 469 numChannels += 2; 476 numChannels += 1; 481 numChannels += 1; 486 numChannels += 2; 492 numChannels += 2; 498 numChannels += 1; 503 numChannels += 1 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/Carbon/ |
MediaDescr.py | 71 'version', 'revlevel', 'vendor', 'numChannels', 'sampleSize', 80 'version', 'revlevel', 'vendor', 'numChannels', 'sampleSize',
|
/frameworks/av/include/media/ |
SoundPool.h | 59 int numChannels() { return mNumChannels; } 70 void init(int numChannels, int sampleRate, audio_format_t format, size_t size, 72 mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; 142 int numChannels() { return mNumChannels; }
|
/frameworks/av/include/media/stagefright/ |
ACodec.h | 253 int32_t numChannels, int32_t sampleRate, int32_t bitRate, 260 status_t setupG711Codec(bool encoder, int32_t numChannels); 263 bool encoder, int32_t numChannels, int32_t sampleRate, int32_t compressionLevel); 266 OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels);
|
/hardware/qcom/msm8960/kernel-headers/linux/ |
msm_audio_wmapro.h | 27 uint8_t numchannels; member in struct:msm_audio_wmapro_config
|
/hardware/qcom/msm8x74/kernel-headers/linux/ |
msm_audio_wmapro.h | 27 uint8_t numchannels; member in struct:msm_audio_wmapro_config
|
/frameworks/av/media/libmedia/ |
SoundPool.cpp | 492 int numChannels; 499 status = MediaPlayer::decode(mUrl, &sampleRate, &numChannels, &format, mHeap, &mSize); 501 status = MediaPlayer::decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format, 511 ALOGV("pointer = %p, size = %u, sampleRate = %u, numChannels = %d", 512 mHeap->getBase(), mSize, sampleRate, numChannels); 520 if ((numChannels < 1) || (numChannels > 2)) { 521 ALOGE("Sample channel count (%d) out of range", numChannels); 528 mNumChannels = numChannels; 578 int numChannels = sample->numChannels() [all...] |