/external/sonic/ |
H A D | wave.h | 12 waveFile openInputWaveFile(char *fileName, int *sampleRate, int *numChannels); 13 waveFile openOutputWaveFile(char *fileName, int sampleRate, int numChannels);
|
H A D | Sonic.java | 30 private int numChannels; field in class:Sonic 50 newLength *= numChannels; 69 for(int xSample = 0; xSample < numSamples*numChannels; xSample++) { 70 dest[destPos*numChannels + xSample] = source[sourcePos*numChannels + xSample]; 82 int start = position*numChannels; 83 int stop = start + numSamples*numChannels; 179 int numChannels) 185 inputBuffer = new short[maxRequired*numChannels]; 187 outputBuffer = new short[maxRequired*numChannels]; 177 allocateStreamBuffers( int sampleRate, int numChannels) argument 199 Sonic( int sampleRate, int numChannels) argument 234 setNumChannels( int numChannels) argument 630 overlapAdd( int numSamples, int numChannels, short out[], int outPos, short rampDown[], int rampDownPos, short rampUp[], int rampUpPos) argument 655 overlapAddWithSeparation( int numSamples, int numChannels, int separation, short out[], int outPos, short rampDown[], int rampDownPos, short rampUp[], int rampUpPos) argument 946 changeFloatSpeed( float samples[], int numSamples, float speed, float pitch, float rate, float volume, boolean useChordPitch, int sampleRate, int numChannels) argument 972 sonicChangeShortSpeed( short samples[], int numSamples, float speed, float pitch, float rate, float volume, boolean useChordPitch, int sampleRate, int numChannels) argument [all...] |
H A D | sonic.c | 34 int numChannels; member in struct:sonicStreamStruct 210 int numChannels) 217 stream->inputBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); 223 stream->outputBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); 229 stream->pitchBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); 240 stream->numChannels = numChannels; 254 int numChannels) 261 if(!allocateStreamBuffers(stream, sampleRate, numChannels)) { 289 allocateStreamBuffers(stream, sampleRate, stream->numChannels); 207 allocateStreamBuffers( sonicStream stream, int sampleRate, int numChannels) argument 252 sonicCreateStream( int sampleRate, int numChannels) argument 301 sonicSetNumChannels( sonicStream stream, int numChannels) argument 735 overlapAdd( int numSamples, int numChannels, short *out, short *rampDown, short *rampUp) argument 765 overlapAddWithSeparation( int numSamples, int numChannels, int separation, short *out, short *rampDown, short *rampUp) argument 803 int numChannels = stream->numChannels; local 826 int numChannels = stream->numChannels; local 846 int numChannels = stream->numChannels; local 907 int numChannels = stream->numChannels; local 963 int numChannels = stream->numChannels; local 989 int numChannels = stream->numChannels; local 1124 sonicChangeFloatSpeed( float *samples, int numSamples, float speed, float pitch, float rate, float volume, int useChordPitch, int sampleRate, int numChannels) argument 1151 sonicChangeShortSpeed( short *samples, int numSamples, float speed, float pitch, float rate, float volume, int useChordPitch, int sampleRate, int numChannels) argument [all...] |
H A D | main.c | 27 int numChannels) 29 sonicStream stream = sonicCreateStream(sampleRate, numChannels); 40 samplesRead = readFromWaveFile(inFile, inBuffer, BUFFER_SIZE/numChannels); 48 BUFFER_SIZE/numChannels); 83 int sampleRate, numChannels; local 125 inFile = openInputWaveFile(inFileName, &sampleRate, &numChannels); 129 outFile = openOutputWaveFile(outFileName, sampleRate, numChannels); 135 sampleRate, numChannels); 17 runSonic( waveFile inFile, waveFile outFile, float speed, float pitch, float rate, float volume, int emulateChordPitch, int quality, int sampleRate, int numChannels) argument
|
H A D | sonic.h | 69 /* For all of the following functions, numChannels is multiplied by numSamples 73 allocate the stream. Set numChannels to 1 for mono, and 2 for stereo. */ 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);
|
H A D | wave.c | 20 int numChannels; member in struct:waveFileStruct 209 file->numChannels = readShort(file); /* 22 - mono or stereo? 1 or 2? (or 5 or ???) */ 243 int *numChannels) 260 *numChannels = file->numChannels; 268 int numChannels) 280 file->numChannels = numChannels; 335 if(maxSamples*file->numChannels*2 > WAVE_BUF_LEN) { 336 maxSamples = WAVE_BUF_LEN/(file->numChannels* 240 openInputWaveFile( char *fileName, int *sampleRate, int *numChannels) argument 265 openOutputWaveFile( char *fileName, int sampleRate, int numChannels) argument [all...] |
H A D | Main.java | 30 int numChannels) throws IOException 32 Sonic sonic = new Sonic(sampleRate, numChannels); 73 int numChannels = format.getChannels(); 80 sampleRate, numChannels); 20 runSonic( AudioInputStream audioStream, SourceDataLine line, float speed, float pitch, float rate, float volume, boolean emulateChordPitch, int quality, int sampleRate, int numChannels) argument
|
/external/aac/libSYS/include/ |
H A D | wav_file.h | 146 USHORT numChannels; member in struct:WAV_HEADER 201 * \param numChannels Desired number of audio channels of the resulting WAV file. 206 INT WAV_OutputOpen(HANDLE_WAV *pWav, const char *outputFilename, INT sampleRate, INT numChannels, INT bitsPerSample);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
H A D | 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 [all...] |
/external/aac/libAACdec/src/ |
H A D | aacdec_drc.h | 144 int numChannels );
|
H A D | 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);
|
/external/aac/libSBRenc/include/ |
H A D | sbr_encoder.h | 145 UCHAR numChannels; /*!< */ member in struct:__anon232 288 * \param numChannels The amount of audio channels 293 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UINT coreSampleRate, AUDIO_OBJECT_TYPE aot); 313 * \param numChannels Input: Encoder input channels. output: core encoder channels. 332 INT *numChannels,
|
/external/aac/libSBRenc/src/ |
H A D | sbr_encoder.cpp | 165 UINT numChannels,/*! the number of channels for the core coder */ 182 if ( numChannels == sbrTuningTable [i].numChannels 397 UINT numChannels, /*! the core coder number of channels */ 411 config->codecSettings.nChannels = numChannels; 428 bitRate *= numChannels; 430 if (numChannels==1) { 437 idx = getSbrTuningTableIndex(bitRate,numChannels,sampleRateCore, core, NULL); 481 if (numChannels == 1) { 1775 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UIN argument 164 getSbrTuningTableIndex(UINT bitrate, UINT numChannels, UINT sampleRate, AUDIO_OBJECT_TYPE core, UINT *pBitRateClosest ) argument 395 FDKsbrEnc_AdjustSbrSettings(const sbrConfigurationPtr config, UINT bitRate, UINT numChannels, UINT sampleRateCore, UINT sampleRateSbr, UINT transFac, UINT standardBitrate, UINT vbrMode, UINT useSpeechConfig, UINT lcsMode, UINT bParametricStereo, AUDIO_OBJECT_TYPE core) argument 1807 sbrEncoder_Init( HANDLE_SBR_ENCODER hSbrEncoder, SBR_ELEMENT_INFO elInfo[(8)], int noElements, INT_PCM *inputBuffer, INT *coreBandwidth, INT *inputBufferOffset, INT *numChannels, INT *coreSampleRate, UINT *downSampleFactor, INT *frameLength, AUDIO_OBJECT_TYPE aot, int *delay, int transformFactor, const int headerPeriod, ULONG statesInitFlag ) argument [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowMediaRecorder.java | 53 public void setAudioChannels(int numChannels) { argument 54 audioChannels = numChannels;
|
/external/aac/libSBRdec/include/ |
H A D | sbrdecoder.h | 300 * \param numChannels Pointer to a buffer holding the number of channels in time data buffer. 311 int *numChannels,
|
/external/sonivox/arm-fm-22k/host_src/ |
H A D | eas_main.c | 123 wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM) * 8); 136 for (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChannels) 280 bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS; 438 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "\tNumber of channels: %d\n", pLibConfig->numChannels); */ }
|
H A D | eas.h | 54 EAS_I32 numChannels; member in struct:__anon14174
|
/external/sonivox/arm-hybrid-22k/host_src/ |
H A D | eas_main.c | 123 wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM) * 8); 136 for (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChannels) 280 bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS; 438 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "\tNumber of channels: %d\n", pLibConfig->numChannels); */ }
|
H A D | eas.h | 54 EAS_I32 numChannels; member in struct:__anon14224
|
/external/sonivox/arm-wt-22k/host_src/ |
H A D | 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); */ }
|
H A D | eas.h | 54 EAS_I32 numChannels; member in struct:__anon14275
|
/external/aac/libSYS/src/ |
H A D | 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) argument 417 wav->header.numChannels = LittleEndian16((SHORT)numChannels); 418 wav->header.blockAlign = LittleEndian16((SHORT)(numChannels * (bitsPerSample >> 3)));
|
/external/aac/libAACdec/include/ |
H A D | 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 540 INT numChannels; /*!< The number of output audio channels in the decoded and interleaved PCM audio signal. */ member in struct:__anon3
|
/external/aac/libPCMutils/src/ |
H A D | 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; local 697 numChannels += numChInGrp[grpIdx]; 708 pChannelMap = channelMapping[numChannels]; 439 getChannelMode( const INT numChannels, const AUDIO_CHANNEL_TYPE channelType[], const UCHAR channelIndices[], UCHAR offsetTable[PCM_DMX_MAX_CHANNELS], PCM_DMX_CHANNEL_MODE *chMode ) argument
|
/external/sonivox/jet_tools/JetCreator/ |
H A D | eas.py | 540 ('numChannels', c_long),
601 AudioBufferType = c_ubyte * (2 * self.config.mixBufferSize * self.config.numChannels)
611 eas_logger.debug("libVersion=%08x, maxVoices=%d, numChannels=%d, sampleRate = %d, mixBufferSize=%d" %
612 (self.config.libVersion, self.config.maxVoices, self.config.numChannels, self.config.sampleRate, self.config.mixBufferSize))
724 stream.setparams((self.config.numChannels, 2, self.config.sampleRate, 0, 'NONE', None))
904 AudioBufferType = c_ubyte * (2 * buf_size * self.config.numChannels)
|