/external/tinyalsa/ |
tinycap.c | 63 unsigned int bits, unsigned int period_size, 81 unsigned int period_size = 1024; local 86 "[-r rate] [-b bits] [-p period_size] [-n n_periods]\n", argv[0]); 122 period_size = atoi(*argv); 152 period_size, period_count); 168 unsigned int bits, unsigned int period_size, 179 config.period_size = period_size;
|
tinyplay.c | 64 unsigned int rate, unsigned int bits, unsigned int period_size, 82 unsigned int period_size = 1024; local 88 fprintf(stderr, "Usage: %s file.wav [-D card] [-d device] [-p period_size]" 139 period_size = atoi(*argv); 156 chunk_fmt.bits_per_sample, period_size, period_count); 164 unsigned int rate, unsigned int bits, unsigned int period_size, 175 config.period_size = period_size;
|
pcm.c | 637 param_set_min(¶ms, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, config->period_size); 671 config->period_size = param_get_int(¶ms, SNDRV_PCM_HW_PARAM_PERIOD_SIZE); 673 pcm->buffer_size = config->period_count * config->period_size; 695 config->period_count * config->period_size / 2; 703 config->period_count * config->period_size * 10; 706 config->period_count * config->period_size; 713 pcm->config.avail_min = sparams.avail_min = pcm->config.period_size; 719 sparams.xfer_align = config->period_size / 2; /* needed for old kernels */
|
/hardware/qcom/audio/hal/ |
audio_hw.h | 292 .period_size = DEEP_BUFFER_OUTPUT_PERIOD_SIZE, 303 .period_size = LOW_LATENCY_OUTPUT_PERIOD_SIZE, 314 .period_size = HDMI_MULTI_PERIOD_SIZE, 324 .period_size = AUDIO_CAPTURE_PERIOD_SIZE, 332 .period_size = 160,
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
pcm_rate.h | 48 snd_pcm_uframes_t period_size; member in struct:snd_pcm_rate_side_info
|
pcm_ioplug.h | 114 snd_pcm_uframes_t period_size; /**< period size; filled after hw_params is called */ member in struct:snd_pcm_ioplug
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
pcm_rate.h | 48 snd_pcm_uframes_t period_size; member in struct:snd_pcm_rate_side_info
|
pcm_ioplug.h | 114 snd_pcm_uframes_t period_size; /**< period size; filled after hw_params is called */ member in struct:snd_pcm_ioplug
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm_oss.h | 35 unsigned int period_size; member in struct:snd_pcm_oss_setup
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
pcm_rate.h | 48 snd_pcm_uframes_t period_size; member in struct:snd_pcm_rate_side_info
|
pcm_ioplug.h | 114 snd_pcm_uframes_t period_size; /**< period size; filled after hw_params is called */ member in struct:snd_pcm_ioplug
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm_oss.h | 35 unsigned int period_size; member in struct:snd_pcm_oss_setup
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
arec.c | 130 pcm->period_size = pcm_period_size(params); 131 pcm->period_cnt = pcm->buffer_size/pcm->period_size; 133 fprintf (stderr,"period_size (%d)", pcm->period_size); 146 sparams->avail_min = pcm->period_size/2; 147 sparams->xfer_align = pcm->period_size/2; 149 sparams->avail_min = pcm->period_size/8; 150 sparams->xfer_align = pcm->period_size/8; 152 sparams->avail_min = pcm->period_size/12; 153 sparams->xfer_align = pcm->period_size/12 [all...] |
aplay.c | 126 pcm->period_size = pcm_period_size(params); 127 pcm->period_cnt = pcm->buffer_size/pcm->period_size; 130 fprintf (stderr,"period_size = %d\n", pcm->period_size); 142 sparams->avail_min = pcm->period_size/(channels * 2) ; 143 sparams->start_threshold = pcm->period_size/(channels * 2) ; 145 sparams->xfer_align = pcm->period_size/(channels * 2) ; /* needed for old kernels */ 274 bufsize = pcm->period_size; 434 bufsize = pcm->period_size;
|
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioStreamOutALSA.cpp | 112 int period_size; local 237 period_size = mHandle->periodSize; 239 if (write_pending < period_size) { 240 write_pending = period_size; 245 period_size); 249 period_size); 276 sent += static_cast<ssize_t>((period_size)); 277 write_pending -= period_size;
|
AudioUsbALSA.cpp | 316 txHandle->period_size = pcm_period_size(params); 318 txHandle->period_cnt = txHandle->buffer_size/txHandle->period_size; 320 ALOGD("setHardwareParams: buffer_size %d, period_size %d, period_cnt %d", 321 txHandle->buffer_size, txHandle->period_size, 341 params->avail_min = (pcm->flags & PCM_MONO) ? pcm->period_size/2 : pcm->period_size/4; 344 params->start_threshold = (pcm->flags & PCM_MONO) ? pcm->period_size*8 : pcm->period_size*4; 345 params->xfer_align = (pcm->flags & PCM_MONO) ? pcm->period_size*8 : pcm->period_size*4 [all...] |
AudioStreamInALSA.cpp | 128 int period_size; local 325 period_size = mHandle->periodSize; 334 int period_bytes = mHandle->handle->period_size; 421 if (read_pending < period_size) { 422 read_pending = period_size; 426 period_size); 456 read += static_cast<ssize_t>((period_size)); 457 read_pending -= period_size; 460 memset(buffer, 0, period_size); 462 buffer = ((uint8_t *)buffer) + period_size; [all...] |
alsa_default.cpp | 326 handle->handle->period_size = pcm_period_size(params); 327 handle->handle->period_cnt = handle->handle->buffer_size/handle->handle->period_size; 328 ALOGD("setHardwareParams: buffer_size %d, period_size %d, period_cnt %d", 329 handle->handle->buffer_size, handle->handle->period_size, 333 handle->periodSize = handle->handle->period_size; 338 handle->bufferSize = handle->handle->period_size; 349 unsigned long periodSize = pcm->period_size; 780 pcm_write(handle->handle,&voc_pkt,handle->handle->period_size); 825 pcm_read(handle->handle,&voc_pkt,handle->handle->period_size); [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
AudioRecordingLocal.cpp | 50 config.period_size = 1024;
|
AudioPlaybackLocal.cpp | 63 config.period_size = 1024;
|
/external/qemu/audio/ |
alsaaudio.c | 162 unsigned int period_size; member in struct:alsa_params_req 496 req->buffer_size, req->period_size); 642 if (req->period_size) { 647 unsigned int ptime = req->period_size; 659 snd_pcm_uframes_t psize = req->period_size; 672 size_in_usec ? "time" : "size", req->period_size); 676 if (((req->override_mask & 1) && (obt - req->period_size))) 678 size_in_usec ? "time" : "size", req->period_size, obt); 893 req.period_size = conf.period_size_out; 998 req.period_size = conf.period_size_in [all...] |
/hardware/libhardware/modules/usbaudio/ |
audio_hw.c | 39 .period_size = 1024, 104 return pcm_config.period_size * 180 return (pcm_config.period_size * pcm_config.period_count * 1000) /
|
/device/samsung/manta/audio/ |
audio_hw.c | 73 .period_size = 256, 81 .period_size = 1024, 89 .period_size = 128, 101 .period_size = 8192, 109 .period_size = 1024, 797 size = (pcm_config_in.period_size * sample_rate) / pcm_config_in.rate; 825 pcm_frames_to_bytes(in->pcm, pcm_config_in.period_size)); 833 in->frames_in = pcm_config_in.period_size; 844 (pcm_config_in.period_size - in->frames_in) * popcount(in->channel_mask); 921 return out->config.period_size * [all...] |
/external/tinyalsa/include/tinyalsa/ |
asoundlib.h | 84 unsigned int period_size; member in struct:pcm_config 92 * start_threshold : period_count * period_size 93 * stop_threshold : period_count * period_size
|
/hardware/libhardware/modules/audio_remote_submix/ |
audio_hw.cpp | 58 unsigned int period_size; // size of the audio pipe is period_size * period_count in frames member in struct:android::submix_config 127 size_t buffer_size = config_out.period_size * popcount(config_out.channel_mask) 130 // buffer_size, config_out.period_size); 331 in->dev->config.period_size * audio_stream_frame_size(stream)); 332 return in->dev->config.period_size * audio_stream_frame_size(stream); 560 rsxadev->config.period_size = 1024; 719 rsxadev->config.period_size = 1024;
|