Home
last modified time | relevance | path

Searched refs:device_frequency (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/modules/audio_device/win/
Dcore_audio_output_win.h59 bool OnDataCallback(uint64_t device_frequency);
61 int EstimateOutputLatencyMillis(uint64_t device_frequency);
Dcore_audio_output_win.cc282 bool CoreAudioOutput::OnDataCallback(uint64_t device_frequency) { in OnDataCallback() argument
331 latency_ms_ = EstimateOutputLatencyMillis(device_frequency); in OnDataCallback()
360 int CoreAudioOutput::EstimateOutputLatencyMillis(uint64_t device_frequency) { in EstimateOutputLatencyMillis() argument
371 format_.Format.nSamplesPerSec * position / device_frequency; in EstimateOutputLatencyMillis()
Dcore_audio_input_win.h59 bool OnDataCallback(uint64_t device_frequency);
Dcore_audio_base_win.cc900 UINT64 device_frequency = 0; in ThreadRun() local
904 result = audio_clock_->GetFrequency(&device_frequency); in ThreadRun()
928 error = !on_data_callback_(device_frequency); in ThreadRun()
Dcore_audio_base_win.h62 typedef std::function<bool(uint64_t device_frequency)> OnDataCallback;
Dcore_audio_input_win.cc266 bool CoreAudioInput::OnDataCallback(uint64_t device_frequency) { in OnDataCallback() argument
/external/OpenCL-CTS/test_conformance/printf/
Dtest_printf.cpp992 uint32_t device_frequency = 0; in InitCL() local
1003 size_t config_size = sizeof( device_frequency ); in InitCL()
1009 config_size = sizeof(device_frequency); in InitCL()
1010 …if((err = clGetDeviceInfo(device, CL_DEVICE_MAX_CLOCK_FREQUENCY, config_size, &device_frequency, N… in InitCL()
1011 device_frequency = 1; in InitCL()
1017 log_info( "\tDevice Frequency: %d MHz\n", device_frequency ); in InitCL()