/external/sonivox/arm-wt-22k/host_src/ |
eas_main.c | 126 wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM) * 8); 139 for (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChannels) 283 bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS; 441 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "\tNumber of channels: %d\n", pLibConfig->numChannels); */ }
|
eas.h | 54 EAS_I32 numChannels; [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
ASessionDescription.cpp | 278 const char *desc, int32_t *timescale, int32_t *numChannels) { 289 *numChannels = 1; 297 *numChannels = x;
|
AMPEG4ElementaryAssembler.cpp | 189 int32_t sampleRate, numChannels; 191 desc.c_str(), &sampleRate, &numChannels); 193 mChannelConfig = numChannels;
|
ARTPWriter.cpp | 475 int32_t sampleRate, numChannels; 477 CHECK(mSource->getFormat()->findInt32(kKeyChannelCount, &numChannels)); 479 CHECK_EQ(numChannels, 1); 483 sdp.append(StringPrintf("/%d/%d", sampleRate, numChannels));
|
/frameworks/base/media/java/android/media/ |
MediaRecorder.java | 629 * @param numChannels the number of audio channels. Usually it is either 1 (mono) or 2 632 public void setAudioChannels(int numChannels) { 633 if (numChannels <= 0) { 636 setParameter("audio-param-number-of-channels=" + numChannels); [all...] |
/external/aac/libSYS/src/ |
wav_file.cpp | 162 FDKfread_EL(&(wav->header.numChannels), 2, 1, wav->fp); 379 * \param numChannels desired number of audio channels of the resulting WAV file 385 INT WAV_OutputOpen(HANDLE_WAV *pWav, const char *outputFilename, INT sampleRate, INT numChannels, INT bitsPerSample) 417 wav->header.numChannels = LittleEndian16((SHORT)numChannels); 418 wav->header.blockAlign = LittleEndian16((SHORT)(numChannels * (bitsPerSample >> 3)));
|
/frameworks/av/media/libstagefright/ |
OMXCodec.cpp | 587 int32_t numChannels, sampleRate, aacProfile; 588 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 600 status_t err = setAACFormat(numChannels, sampleRate, bitRate, aacProfile, isADTS); 606 int32_t numChannels, sampleRate; 607 if (meta->findInt32(kKeyChannelCount, &numChannels) 614 numChannels); 617 int32_t numChannels; 619 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 622 status_t err = setAC3Format(numChannels, sampleRate); 632 int32_t numChannels; 1737 int32_t numchannels = 0; local [all...] |
AudioPlayer.cpp | 125 int32_t numChannels, channelMask; 126 success = format->findInt32(kKeyChannelCount, &numChannels); 131 ALOGI_IF(numChannels > 2, 132 "source format didn't specify channel mask, using (%d) channel order", numChannels); 184 mSampleRate, numChannels, channelMask, audioFormat, 226 audio_channel_out_mask_from_count(numChannels) : channelMask;
|
ACodec.cpp | [all...] |
Utils.cpp | 132 int32_t numChannels, sampleRate; 133 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 136 msg->setInt32("channel-count", numChannels); 517 int32_t numChannels; 518 if (msg->findInt32("channel-count", &numChannels)) { 519 meta->setInt32(kKeyChannelCount, numChannels);
|
/external/aac/libAACdec/src/ |
aacdecoder_lib.cpp | 900 self->streamInfo.numChannels = self->streamInfo.aacNumChannels; 916 int chOutMapIdx = ((self->chMapIndex==0) && (self->streamInfo.numChannels<7)) ? self->streamInfo.numChannels : self->chMapIndex; 948 &self->streamInfo.numChannels, 997 &self->streamInfo.numChannels, 1017 setLimiterNChannels(self->hLimiter, self->streamInfo.numChannels); [all...] |
/frameworks/av/media/libmediaplayerservice/ |
MidiFile.cpp | 432 if (mAudioSink->open(pLibConfig->sampleRate, pLibConfig->numChannels, 449 mAudioBuffer = new EAS_PCM[pLibConfig->mixBufferSize * pLibConfig->numChannels * NUM_BUFFERS]; 487 p += count * pLibConfig->numChannels; 488 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
|
/cts/tests/tests/nativemedia/sl/src/ |
SLObjectCreationTest.cpp | 163 formatPcmSnk.numChannels = 1; 214 pcm.numChannels = 2;
|
/development/ndk/platforms/android-9/samples/native-audio/jni/ |
native-audio-jni.c | 413 SLuint8 numChannels; 417 result = (*muteSoloItf)->GetNumChannels(muteSoloItf, &numChannels); 420 numChannels = 0; 425 numChannels = 0; 427 return numChannels;
|
/external/aac/libAACdec/include/ |
aacdecoder_lib.h | 220 While the members sampleRate, frameSize and numChannels might be quite self explaining, 224 CStreamInfo::numChannels cells. Each cell of pChannelType indicates the channel type, described in 258 CStreamInfo::numChannels = 2 280 CStreamInfo::numChannels = 6 320 CStreamInfo::numChannels = 3 [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
ESQueue.cpp | 574 size_t frameSize = 2 /* numChannels */ * sizeof(int16_t); 654 int32_t numChannels; 656 CHECK(mFormat->findInt32(kKeyChannelCount, &numChannels)); 659 sampleRate, numChannels); 913 int samplingRate, numChannels, bitrate, numSamples; 915 header, &frameSize, &samplingRate, &numChannels, 959 mFormat->setInt32(kKeyChannelCount, numChannels); [all...] |
/frameworks/av/cmds/stagefright/ |
sf2.cpp | 308 int32_t numChannels, sampleRate; 309 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 312 msg->setInt32("channel-count", numChannels);
|
/external/aac/libPCMutils/src/ |
pcmutils_lib.cpp | 440 const INT numChannels, /* in */ 473 for (ch = 0; ch < numChannels; ch += 1) { 504 chGrpIdx = numChannels + numChToPlace; 524 +numChInGrp[CH_GROUP_REAR]+numChInGrp[CH_GROUP_LFE]) == numChannels); 526 FDK_ASSERT( numChInGrp[CH_GROUP_FRONT] == numChannels ); 674 int grpIdx, ch = 0, numChannels = 0; 697 numChannels += numChInGrp[grpIdx]; 708 pChannelMap = channelMapping[numChannels]; [all...] |
/frameworks/wilhelm/tests/automated/ |
BufferQueue_test.cpp | 121 pcm.numChannels = 2; 319 pcm.numChannels = 1;
|
/external/deqp/framework/common/ |
tcuTexture.cpp | 476 int numChannels = 0; 481 case R: numChannels = 1; break; 482 case A: numChannels = 1; break; 483 case I: numChannels = 1; break; 484 case L: numChannels = 1; break; 485 case LA: numChannels = 2; break; 486 case RG: numChannels = 2; break; 487 case RA: numChannels = 2; break; 488 case RGB: numChannels = 3; break; 489 case RGBA: numChannels = 4; break [all...] |
/external/sonivox/arm-fm-22k/host_src/ |
eas.h | 54 EAS_I32 numChannels; [all...] |
/external/sonivox/arm-hybrid-22k/host_src/ |
eas.h | 54 EAS_I32 numChannels; [all...] |
/frameworks/wilhelm/include/SLES/ |
OpenSLES_Android.h | 48 SLuint32 numChannels;
|
/frameworks/wilhelm/tests/examples/ |
slesTestSawtoothBufferQueue.cpp | 170 pcm.numChannels = 1;//2;
|