Searched refs:device_frequency (Results 1 – 7 of 7) sorted by relevance
59 bool OnDataCallback(uint64_t device_frequency);61 int EstimateOutputLatencyMillis(uint64_t device_frequency);
282 bool CoreAudioOutput::OnDataCallback(uint64_t device_frequency) { in OnDataCallback() argument331 latency_ms_ = EstimateOutputLatencyMillis(device_frequency); in OnDataCallback()360 int CoreAudioOutput::EstimateOutputLatencyMillis(uint64_t device_frequency) { in EstimateOutputLatencyMillis() argument371 format_.Format.nSamplesPerSec * position / device_frequency; in EstimateOutputLatencyMillis()
59 bool OnDataCallback(uint64_t device_frequency);
900 UINT64 device_frequency = 0; in ThreadRun() local904 result = audio_clock_->GetFrequency(&device_frequency); in ThreadRun()928 error = !on_data_callback_(device_frequency); in ThreadRun()
62 typedef std::function<bool(uint64_t device_frequency)> OnDataCallback;
266 bool CoreAudioInput::OnDataCallback(uint64_t device_frequency) { in OnDataCallback() argument
992 uint32_t device_frequency = 0; in InitCL() local1003 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()