/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...] |
/bionic/libc/kernel/uapi/sound/ |
usb_stream.h | 41 int period_size; member in struct:usb_stream
|
/external/kernel-headers/original/uapi/sound/ |
usb_stream.h | 45 int period_size; member in struct:usb_stream
|
/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, 197 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", " frames"); 212 unsigned int rate, unsigned int bits, unsigned int period_size, 224 config.period_size = period_size; [all...] |
/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
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-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/tinyalsa/include/tinyalsa/ |
asoundlib.h | 95 unsigned int period_size; member in struct:pcm_config 104 * start_threshold : period_count * period_size 105 * stop_threshold : period_count * period_size
|
/system/media/alsa_utils/ |
alsa_device_profile.c | 128 unsigned int period_size = profile_calc_min_period_size(profile, sample_rate); local 129 ALOGV("profile_get_period_size(rate:%d) = %d", sample_rate, period_size); 130 return period_size; 367 config->period_size = profile_calc_min_period_size(profile, config->rate); 393 profile->default_config.period_size); 636 dprintf(fd, " period_size: %d\n", profile->default_config.period_size);
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
alsa_audio.h | 34 unsigned period_size; member in struct:pcm
|
/system/bt/audio_a2dp_hw/src/ |
audio_a2dp_hw.cc | 919 // period_size is the AudioFlinger mixer buffer size. 920 const size_t period_size = local 924 period_size); 926 return period_size; [all...] |