/external/sonic/ |
D | sonic.c | 34 int numChannels; member 210 int numChannels) in allocateStreamBuffers() argument 217 stream->inputBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); in allocateStreamBuffers() 223 stream->outputBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); in allocateStreamBuffers() 229 stream->pitchBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); in allocateStreamBuffers() 240 stream->numChannels = numChannels; in allocateStreamBuffers() 254 int numChannels) in sonicCreateStream() argument 261 if(!allocateStreamBuffers(stream, sampleRate, numChannels)) { in sonicCreateStream() 289 allocateStreamBuffers(stream, sampleRate, stream->numChannels); in sonicSetSampleRate() 296 return stream->numChannels; in sonicGetNumChannels() [all …]
|
D | Sonic.java | 30 private int numChannels; field in Sonic 50 newLength *= numChannels; in resize() 69 for(int xSample = 0; xSample < numSamples*numChannels; xSample++) { in move() 70 dest[destPos*numChannels + xSample] = source[sourcePos*numChannels + xSample]; in move() 82 int start = position*numChannels; in scaleSamples() 83 int stop = start + numSamples*numChannels; in scaleSamples() 179 int numChannels) in allocateStreamBuffers() argument 185 inputBuffer = new short[maxRequired*numChannels]; in allocateStreamBuffers() 187 outputBuffer = new short[maxRequired*numChannels]; in allocateStreamBuffers() 189 pitchBuffer = new short[maxRequired*numChannels]; in allocateStreamBuffers() [all …]
|
D | wave.c | 20 int numChannels; member 209 file->numChannels = readShort(file); /* 22 - mono or stereo? 1 or 2? (or 5 or ???) */ in readHeader() 243 int *numChannels) in openInputWaveFile() argument 260 *numChannels = file->numChannels; in openInputWaveFile() 268 int numChannels) in openOutputWaveFile() argument 280 file->numChannels = numChannels; in openOutputWaveFile() 335 if(maxSamples*file->numChannels*2 > WAVE_BUF_LEN) { in readFromWaveFile() 336 maxSamples = WAVE_BUF_LEN/(file->numChannels*2); in readFromWaveFile() 338 bytesRead = readBytes(file, bytes, maxSamples*file->numChannels*2); in readFromWaveFile() 339 samplesRead = bytesRead/(file->numChannels*2); in readFromWaveFile() [all …]
|
D | main.c | 27 int numChannels) in runSonic() argument 29 sonicStream stream = sonicCreateStream(sampleRate, numChannels); in runSonic() 40 samplesRead = readFromWaveFile(inFile, inBuffer, BUFFER_SIZE/numChannels); in runSonic() 48 BUFFER_SIZE/numChannels); in runSonic() 83 int sampleRate, numChannels; in main() local 125 inFile = openInputWaveFile(inFileName, &sampleRate, &numChannels); in main() 129 outFile = openOutputWaveFile(outFileName, sampleRate, numChannels); in main() 135 sampleRate, numChannels); in main()
|
D | sonic.h | 74 sonicStream sonicCreateStream(int sampleRate, int numChannels); 133 void sonicSetNumChannels(sonicStream stream, int numChannels); 138 float rate, float volume, int useChordPitch, int sampleRate, int numChannels); 143 float rate, float volume, int useChordPitch, int sampleRate, int numChannels);
|
D | Main.java | 30 int numChannels) throws IOException in runSonic() argument 32 Sonic sonic = new Sonic(sampleRate, numChannels); in runSonic() 73 int numChannels = format.getChannels(); in main() local 80 sampleRate, numChannels); in main()
|
D | wave.h | 12 waveFile openInputWaveFile(char *fileName, int *sampleRate, int *numChannels); 13 waveFile openOutputWaveFile(char *fileName, int sampleRate, int numChannels);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
D | FlatManifestWriterImpl.java | 454 int numChannels = 0; in getNumChannelsAndMask() local 458 numChannels += 1; in getNumChannelsAndMask() 463 numChannels += 2; in getNumChannelsAndMask() 469 numChannels += 2; in getNumChannelsAndMask() 476 numChannels += 1; in getNumChannelsAndMask() 481 numChannels += 1; in getNumChannelsAndMask() 486 numChannels += 2; in getNumChannelsAndMask() 492 numChannels += 2; in getNumChannelsAndMask() 498 numChannels += 1; in getNumChannelsAndMask() 503 numChannels += 1; in getNumChannelsAndMask() [all …]
|
/external/aac/libSBRenc/src/ |
D | sbr_encoder.cpp | 165 UINT numChannels,/*! the number of channels for the core coder */ in getSbrTuningTableIndex() argument 182 if ( numChannels == sbrTuningTable [i].numChannels in getSbrTuningTableIndex() 397 UINT numChannels, /*! the core coder number of channels */ in FDKsbrEnc_AdjustSbrSettings() argument 411 config->codecSettings.nChannels = numChannels; in FDKsbrEnc_AdjustSbrSettings() 428 bitRate *= numChannels; in FDKsbrEnc_AdjustSbrSettings() 430 if (numChannels==1) { in FDKsbrEnc_AdjustSbrSettings() 437 idx = getSbrTuningTableIndex(bitRate,numChannels,sampleRateCore, core, NULL); in FDKsbrEnc_AdjustSbrSettings() 481 if (numChannels == 1) { in FDKsbrEnc_AdjustSbrSettings() 1775 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UINT coreSampleRate, AUDIO_OBJECT_TYPE… in sbrEncoder_LimitBitRate() argument 1780 FDK_ASSERT(numChannels > 0 && numChannels <= 2); in sbrEncoder_LimitBitRate() [all …]
|
/external/aac/libSYS/include/ |
D | wav_file.h | 146 USHORT numChannels; member 206 INT WAV_OutputOpen(HANDLE_WAV *pWav, const char *outputFilename, INT sampleRate, INT numChannels, I…
|
/external/aac/libSBRenc/include/ |
D | sbr_encoder.h | 145 UCHAR numChannels; /*!< */ member 293 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UINT coreSampleRate, AUDIO_OBJECT_TYPE… 332 INT *numChannels,
|
/external/aac/libSYS/src/ |
D | wav_file.cpp | 162 FDKfread_EL(&(wav->header.numChannels), 2, 1, wav->fp); in WAV_InputOpen() 385 INT WAV_OutputOpen(HANDLE_WAV *pWav, const char *outputFilename, INT sampleRate, INT numChannels, I… in WAV_OutputOpen() argument 417 wav->header.numChannels = LittleEndian16((SHORT)numChannels); in WAV_OutputOpen() 418 wav->header.blockAlign = LittleEndian16((SHORT)(numChannels * (bitsPerSample >> 3))); in WAV_OutputOpen()
|
/external/sonivox/arm-hybrid-22k/host_src/ |
D | eas_main.c | 123 …wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM… in PlayFile() 136 … (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChannels) in PlayFile() 280 …bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_… in main()
|
D | eas.h | 54 EAS_I32 numChannels; member
|
/external/sonivox/arm-fm-22k/host_src/ |
D | eas_main.c | 123 …wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM… in PlayFile() 136 … (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChannels) in PlayFile() 280 …bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_… in main()
|
D | eas.h | 54 EAS_I32 numChannels; member
|
/external/sonivox/arm-wt-22k/host_src/ |
D | eas_main.c | 126 …wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM… in PlayFile() 139 … (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChannels) in PlayFile() 283 …bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_… in main()
|
/external/aac/libAACdec/src/ |
D | aacdecoder_lib.cpp | 900 self->streamInfo.numChannels = self->streamInfo.aacNumChannels; in aacDecoder_DecodeFrame() 916 …MapIdx = ((self->chMapIndex==0) && (self->streamInfo.numChannels<7)) ? self->streamInfo.numChannel… in aacDecoder_DecodeFrame() 948 &self->streamInfo.numChannels, in aacDecoder_DecodeFrame() 997 &self->streamInfo.numChannels, in aacDecoder_DecodeFrame() 1017 setLimiterNChannels(self->hLimiter, self->streamInfo.numChannels); in aacDecoder_DecodeFrame()
|
D | aacdec_drc.h | 144 int numChannels );
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowMediaRecorder.java | 53 public void setAudioChannels(int numChannels) { in setAudioChannels() argument 54 audioChannels = numChannels; in setAudioChannels()
|
/external/aac/libSBRdec/include/ |
D | sbrdecoder.h | 311 int *numChannels,
|
/external/aac/libPCMutils/src/ |
D | pcmutils_lib.cpp | 440 const INT numChannels, /* in */ in getChannelMode() argument 473 for (ch = 0; ch < numChannels; ch += 1) { in getChannelMode() 504 chGrpIdx = numChannels + numChToPlace; in getChannelMode() 524 +numChInGrp[CH_GROUP_REAR]+numChInGrp[CH_GROUP_LFE]) == numChannels); in getChannelMode() 526 FDK_ASSERT( numChInGrp[CH_GROUP_FRONT] == numChannels ); in getChannelMode() 674 int grpIdx, ch = 0, numChannels = 0; in getChannelDescription() local 697 numChannels += numChInGrp[grpIdx]; in getChannelDescription() 708 pChannelMap = channelMapping[numChannels]; in getChannelDescription()
|
/external/aac/libAACdec/include/ |
D | aacdecoder_lib.h | 540 …INT numChannels; /*!< The number of output audio channels in the decoded and… member
|
/external/sonivox/jet_tools/JetCreator/ |
D | eas.py | 601 AudioBufferType = c_ubyte * (2 * self.config.mixBufferSize * self.config.numChannels) 612 …(self.config.libVersion, self.config.maxVoices, self.config.numChannels, self.config.sampleRate, s… 724 stream.setparams((self.config.numChannels, 2, self.config.sampleRate, 0, 'NONE', None)) 904 AudioBufferType = c_ubyte * (2 * buf_size * self.config.numChannels)
|
/external/aac/libSBRdec/src/ |
D | sbrdecoder.cpp | 1412 int *numChannels, in sbrDecoder_Apply() argument 1423 int numCoreChannels = *numChannels; in sbrDecoder_Apply() 1505 *numChannels = numSbrChannels; in sbrDecoder_Apply()
|