Home | History | Annotate | Download | only in rtp

Lines Matching full:samplerate

100         AudioCodec *codec, int sampleRate, int sampleCount,
104 bool mix(int32_t *output, int head, int tail, int sampleRate);
166 AudioCodec *codec, int sampleRate, int sampleCount,
178 mSampleRate = sampleRate / 1000;
234 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate)
253 if (sampleRate == mSampleRate) {
476 bool set(int sampleRate, int sampleCount);
572 bool AudioGroup::set(int sampleRate, int sampleCount)
580 mSampleRate = sampleRate;
594 sampleRate, sampleCount, -1, -1)) {
603 tv.tv_usec = 1000 * sampleCount / sampleRate * 500;
784 int sampleRate = mGroup->mSampleRate;
792 sampleRate) != NO_ERROR || output <= 0 ||
793 AudioRecord::getMinFrameCount(&input, sampleRate,
811 if (track.set(AUDIO_STREAM_VOICE_CALL, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
813 AUDIO_SOURCE_VOICE_COMMUNICATION, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
852 (track.latency() + record.latency()) * sampleRate / 1000);
961 int sampleRate = -1;
962 sscanf(codecSpec, "%d %15[^/]%*c%d", &codecType, codecName, &sampleRate);
964 int sampleCount = (codec ? codec->set(sampleRate, codecSpec) : -1);
974 if (!stream->set(mode, socket, &remote, codec, sampleRate, sampleCount,