Home
last modified time | relevance | path

Searched refs:samplesPerSec (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/audio_device/test/
Dfunc_test_manager.cc148 const uint32_t samplesPerSec, in RecordedDataIsAvailable() argument
162 packet->samplesPerSec = samplesPerSec; in RecordedDataIsAvailable()
293 const uint32_t samplesPerSec, in NeedMorePlayData() argument
319 const uint32_t samplesPerSecIn = packet->samplesPerSec; in NeedMorePlayData()
324 int32_t fsOutHz(samplesPerSec); in NeedMorePlayData()
371 samplesPerSecIn, samplesPerSec); in NeedMorePlayData()
413 samplesPerSecIn, samplesPerSec); in NeedMorePlayData()
1214 uint32_t samplesPerSec(0); in TestAudioTransport() local
1232 EXPECT_EQ(0, audioDevice->PlayoutSampleRate(&samplesPerSec)); in TestAudioTransport()
1233 if (samplesPerSec == 48000) { in TestAudioTransport()
[all …]
Dfunc_test_manager.h69 uint32_t samplesPerSec; member
109 const uint32_t samplesPerSec,
119 const uint32_t samplesPerSec,
/external/chromium_org/third_party/webrtc/modules/audio_device/
Daudio_device_generic.cc17 const uint32_t samplesPerSec) in SetRecordingSampleRate() argument
25 const uint32_t samplesPerSec) in SetPlayoutSampleRate() argument
Daudio_device_impl.h189 const uint32_t samplesPerSec) OVERRIDE;
191 uint32_t* samplesPerSec) const OVERRIDE;
193 const uint32_t samplesPerSec) OVERRIDE;
195 uint32_t* samplesPerSec) const OVERRIDE;
Daudio_device_impl.cc1856 int32_t AudioDeviceModuleImpl::SetRecordingSampleRate(const uint32_t samplesPerSec) in SetRecordingSampleRate() argument
1860 if (_ptrAudioDevice->SetRecordingSampleRate(samplesPerSec) != 0) in SetRecordingSampleRate()
1872 int32_t AudioDeviceModuleImpl::RecordingSampleRate(uint32_t* samplesPerSec) const in RecordingSampleRate()
1884 *samplesPerSec = sampleRate; in RecordingSampleRate()
1886 … WEBRTC_TRACE(kTraceStateInfo, kTraceAudioDevice, _id, "output: samplesPerSec=%u", *samplesPerSec); in RecordingSampleRate()
1894 int32_t AudioDeviceModuleImpl::SetPlayoutSampleRate(const uint32_t samplesPerSec) in SetPlayoutSampleRate() argument
1898 if (_ptrAudioDevice->SetPlayoutSampleRate(samplesPerSec) != 0) in SetPlayoutSampleRate()
1910 int32_t AudioDeviceModuleImpl::PlayoutSampleRate(uint32_t* samplesPerSec) const in PlayoutSampleRate()
1922 *samplesPerSec = sampleRate; in PlayoutSampleRate()
1924 … WEBRTC_TRACE(kTraceStateInfo, kTraceAudioDevice, _id, "output: samplesPerSec=%u", *samplesPerSec); in PlayoutSampleRate()
Daudio_device_generic.h141 const uint32_t samplesPerSec);
143 const uint32_t samplesPerSec);
/external/chromium_org/third_party/webrtc/modules/audio_device/include/
Dfake_audio_device.h134 virtual int32_t SetRecordingSampleRate(const uint32_t samplesPerSec) { in SetRecordingSampleRate() argument
137 virtual int32_t RecordingSampleRate(uint32_t* samplesPerSec) const { in RecordingSampleRate() argument
140 virtual int32_t SetPlayoutSampleRate(const uint32_t samplesPerSec) { in SetPlayoutSampleRate() argument
143 virtual int32_t PlayoutSampleRate(uint32_t* samplesPerSec) const { return 0; } in PlayoutSampleRate() argument
Daudio_device.h175 virtual int32_t SetRecordingSampleRate(const uint32_t samplesPerSec) = 0;
176 virtual int32_t RecordingSampleRate(uint32_t* samplesPerSec) const = 0;
177 virtual int32_t SetPlayoutSampleRate(const uint32_t samplesPerSec) = 0;
178 virtual int32_t PlayoutSampleRate(uint32_t* samplesPerSec) const = 0;
Daudio_device_defines.h61 const uint32_t samplesPerSec,
71 const uint32_t samplesPerSec,
/external/chromium_org/third_party/webrtc/modules/audio_device/android/
Daudio_device_template.h390 const uint32_t samplesPerSec) { in SetRecordingSampleRate() argument
391 return input_.SetRecordingSampleRate(samplesPerSec); in SetRecordingSampleRate()
395 const uint32_t samplesPerSec) { in SetPlayoutSampleRate() argument
396 return output_.SetPlayoutSampleRate(samplesPerSec); in SetPlayoutSampleRate()
Daudio_record_jni.cc778 int32_t AudioRecordJni::SetRecordingSampleRate(const uint32_t samplesPerSec) { in SetRecordingSampleRate() argument
779 if (samplesPerSec > 48000 || samplesPerSec < 8000) in SetRecordingSampleRate()
787 if (samplesPerSec == 44100) in SetRecordingSampleRate()
793 _samplingFreqIn = samplesPerSec / 1000; in SetRecordingSampleRate()
797 _ptrAudioBuffer->SetRecordingSampleRate(samplesPerSec); in SetRecordingSampleRate()
Dopensles_common.cc29 configuration.samplesPerSec = sample_rate * 1000; in CreatePcmConfiguration()
Daudio_track_jni.cc857 int32_t AudioTrackJni::SetPlayoutSampleRate(const uint32_t samplesPerSec) { in SetPlayoutSampleRate() argument
858 if (samplesPerSec > 48000 || samplesPerSec < 8000) in SetPlayoutSampleRate()
866 if (samplesPerSec == 44100) in SetPlayoutSampleRate()
872 _samplingFreqOut = samplesPerSec / 1000; in SetPlayoutSampleRate()
876 _ptrAudioBuffer->SetPlayoutSampleRate(samplesPerSec); in SetPlayoutSampleRate()
Daudio_record_jni.h110 int32_t SetRecordingSampleRate(const uint32_t samplesPerSec);
Daudio_track_jni.h97 int32_t SetPlayoutSampleRate(const uint32_t samplesPerSec);
/external/chromium_org/third_party/webrtc/voice_engine/
Dvoe_base_impl.h70 uint32_t samplesPerSec,
80 uint32_t samplesPerSec,
Dtransmit_mixer.h56 uint32_t samplesPerSec,
178 int samplesPerSec);
Dvoe_base_impl.cc125 uint32_t samplesPerSec, in RecordedDataIsAvailable() argument
136 nSamples, nBytesPerSample, nChannels, samplesPerSec, in RecordedDataIsAvailable()
139 NULL, 0, audioSamples, samplesPerSec, nChannels, nSamples, in RecordedDataIsAvailable()
149 uint32_t samplesPerSec, in NeedMorePlayData() argument
158 nSamples, nBytesPerSample, nChannels, samplesPerSec); in NeedMorePlayData()
160 GetPlayoutData(static_cast<int>(samplesPerSec), in NeedMorePlayData()
Dtransmit_mixer.cc323 uint32_t samplesPerSec, in PrepareDemux() argument
332 "currentMicLevel=%u)", nSamples, nChannels, samplesPerSec, in PrepareDemux()
339 samplesPerSec); in PrepareDemux()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
Dfakeaudiocapturemodule_unittest.cc62 const uint32_t samplesPerSec, in RecordedDataIsAvailable() argument
85 const uint32_t samplesPerSec, in NeedMorePlayData() argument
/external/chromium_org/third_party/webrtc/modules/media_file/source/
Dmedia_file_utility.cc633 int32_t ModuleFileUtility::InitWavCodec(uint32_t samplesPerSec, in InitWavCodec() argument
639 codec_info_.plfreq = samplesPerSec; in InitWavCodec()
641 codec_info_.rate = bitsPerSample * samplesPerSec; in InitWavCodec()
660 if(samplesPerSec == 8000) in InitWavCodec()
665 else if(samplesPerSec == 16000) in InitWavCodec()
670 else if(samplesPerSec == 32000) in InitWavCodec()
677 else if(samplesPerSec == 11025) in InitWavCodec()
684 else if(samplesPerSec == 22050) in InitWavCodec()
691 else if(samplesPerSec == 44100) in InitWavCodec()
698 else if(samplesPerSec == 48000) in InitWavCodec()
Dmedia_file_utility.h238 int32_t InitWavCodec(uint32_t samplesPerSec,
/external/qemu/distrib/sdl-1.2.15/src/audio/ums/
DSDL_umsaudio.c232 long samplesPerSec; in UMS_OpenAudio() local
326 samplesPerSec = this->hidden->bytesPerSample * outRate; in UMS_OpenAudio()
/external/chromium_org/media/audio/android/
Dopensles_input.cc37 format_.samplesPerSec = static_cast<SLuint32>(params.sample_rate() * 1000); in OpenSLESInputStream()
Dopensles_output.cc40 format_.samplesPerSec = static_cast<SLuint32>(params.sample_rate() * 1000); in OpenSLESOutputStream()