Home
last modified time | relevance | path

Searched refs:buffer_size_frames (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DStream.h170 halInfo.flags & AUDIO_MMAP_APPLICATION_SHAREABLE || halInfo.buffer_size_frames < 0; in createMmapBuffer()
171 halInfo.buffer_size_frames = abs(halInfo.buffer_size_frames); in createMmapBuffer()
173 hidl_memory("audio_buffer", hidlHandle, frameSize * halInfo.buffer_size_frames); in createMmapBuffer()
176 halInfo.buffer_size_frames *= -1; in createMmapBuffer()
183 info.bufferSizeFrames = halInfo.buffer_size_frames; in createMmapBuffer()
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp139 size_t buffer_size_frames; // Size of the audio pipe in frames. member
360 const size_t buffer_size_frames, in audio_config_compare() argument
422 MonoPipe* sink = new MonoPipe(buffer_size_frames, format, true /*writeCanBlock*/); in audio_config_compare()
441 device_config->buffer_size_frames = sink->maxFrames(); in audio_config_compare()
442 device_config->buffer_period_size_frames = device_config->buffer_size_frames / in audio_config_compare()
453 device_config->buffer_size_frames, device_config->buffer_period_size_frames); in audio_config_compare()
666 const size_t buffer_size_frames = calculate_stream_pipe_size_in_frames( in audio_config_compare() local
668 const size_t buffer_size_bytes = buffer_size_frames * stream_frame_size; in audio_config_compare()
670 buffer_size_bytes, buffer_size_frames); in audio_config_compare()
769 const size_t buffer_size_frames = calculate_stream_pipe_size_in_frames( in audio_config_compare() local
[all …]
/hardware/qcom/audio/hal/
Daudio_hw.c3991 info->buffer_size_frames = pcm_get_buffer_size(out->pcm); in out_create_mmap_buffer()
3992 buffer_size = pcm_frames_to_bytes(out->pcm, info->buffer_size_frames); in out_create_mmap_buffer()
4010 info->buffer_size_frames *= -1; in out_create_mmap_buffer()
4026 __func__, info->shared_memory_address, info->buffer_size_frames); in out_create_mmap_buffer()
4731 info->buffer_size_frames = pcm_get_buffer_size(in->pcm); in in_create_mmap_buffer()
4732 buffer_size = pcm_frames_to_bytes(in->pcm, info->buffer_size_frames); in in_create_mmap_buffer()
4750 info->buffer_size_frames *= -1; in in_create_mmap_buffer()
4767 __func__, info->shared_memory_address, info->buffer_size_frames); in in_create_mmap_buffer()