Home
last modified time | relevance | path

Searched refs:hardware_sample_rate (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ppapi/shared_impl/
Dppb_audio_config_shared.cc67 PP_AudioSampleRate hardware_sample_rate = static_cast<PP_AudioSampleRate>( in RecommendSampleFrameCount_1_1() local
77 if (!hardware_sample_frame_count || !hardware_sample_rate) in RecommendSampleFrameCount_1_1()
99 if (!kHighLatencyDevice && hardware_sample_rate == sample_rate) { in RecommendSampleFrameCount_1_1()
110 (hardware_sample_rate < 44100 && in RecommendSampleFrameCount_1_1()
111 hardware_sample_frame_count > hardware_sample_rate / 100u)) { in RecommendSampleFrameCount_1_1()
127 if (hardware_sample_rate == 44100 && sample_rate == 48000 && in RecommendSampleFrameCount_1_1()
128 hardware_sample_frame_count > hardware_sample_rate / 100u) { in RecommendSampleFrameCount_1_1()
143 PP_AudioSampleRate hardware_sample_rate = static_cast<PP_AudioSampleRate>( in RecommendSampleRate() local
145 return hardware_sample_rate; in RecommendSampleRate()
/external/chromium_org/media/audio/mac/
Daudio_manager_mac.cc661 const int hardware_sample_rate = HardwareSampleRateForDevice(device); in GetPreferredOutputStreamParameters() local
662 const int buffer_size = ChooseBufferSize(hardware_sample_rate); in GetPreferredOutputStreamParameters()
687 hardware_sample_rate, in GetPreferredOutputStreamParameters()