/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;
|
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...] |
/external/tinyalsa/ |
tinycap.c | 63 enum pcm_format format, unsigned int period_size, 81 unsigned int period_size = 1024; local 87 "[-r rate] [-b bits] [-p period_size] [-n n_periods]\n", argv[0]); 123 period_size = atoi(*argv); 169 period_size, period_count); 185 enum pcm_format format, unsigned int period_size, 196 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); 188 unsigned int rate, unsigned int bits, unsigned int period_size, 203 can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, period_size, "Period size", "Hz"); 212 unsigned int rate, unsigned int bits, unsigned int period_size, 223 config.period_size = period_size; [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-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 | 115 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.11-4.8/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 | 115 snd_pcm_uframes_t period_size; /**< period size; filled after hw_params is called */ member in struct:snd_pcm_ioplug
|
/external/chromium_org/media/audio/alsa/ |
alsa_output.cc | 226 snd_pcm_uframes_t period_size; local 228 &period_size);
|
/external/tinyalsa/include/tinyalsa/ |
asoundlib.h | 92 unsigned int period_size; member in struct:pcm_config 100 * start_threshold : period_count * period_size 101 * stop_threshold : period_count * period_size
|
/hardware/libhardware/modules/usbaudio/ |
alsa_device_profile.c | 130 // return profile->default_config.period_size; 131 unsigned int period_size = profile_calc_min_period_size(profile, sample_rate); local 132 ALOGV("profile_get_period_size(rate:%d) = %d", sample_rate, period_size); 133 return period_size; 341 config->period_size = profile_calc_min_period_size(profile, config->rate); 367 profile->default_config.period_size);
|
/device/asus/grouper/audio/ |
audio_hw.c | 74 .period_size = OUT_PERIOD_SIZE, 83 .period_size = IN_PERIOD_SIZE, 93 .period_size = IN_PERIOD_SIZE_LOW_LATENCY, 103 .period_size = SCO_PERIOD_SIZE, 325 out->buffer_frames = (pcm_config_out.period_size * out->pcm_config->rate) / 398 in->pcm_config->period_size); 435 in->frames_in = in->pcm_config->period_size; 447 buffer->i16 = in->buffer + (in->pcm_config->period_size - in->frames_in); 519 return pcm_config_out.period_size * 614 return (pcm_config_out.period_size * period_count * 1000) / pcm_config_out.rate 701 size_t period_size = out->pcm_config->period_size; local [all...] |
/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/qcom/audio/legacy/libalsa-intf/ |
alsa_audio.h | 34 unsigned period_size; member in struct:pcm
|