HomeSort by relevance Sort by last modified time
    Searched defs:period_size (Results 1 - 22 of 22) sorted by null

  /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...]
  /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/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
  /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;
  /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
  /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
pcm.h 274 snd_pcm_uframes_t period_size; /* period size */ member in struct:snd_pcm_runtime
650 return frames_to_bytes(runtime, runtime->period_size);
    [all...]
ymfpci.h 278 u32 period_size; /* cached from runtime->period_size */ member in struct:snd_ymfpci_pcm
  /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
pcm.h 274 snd_pcm_uframes_t period_size; /* period size */ member in struct:snd_pcm_runtime
650 return frames_to_bytes(runtime, runtime->period_size);
    [all...]
ymfpci.h 278 u32 period_size; /* cached from runtime->period_size */ member in struct:snd_ymfpci_pcm
  /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;
  /device/asus/grouper/audio/
audio_hw.c 73 .period_size = OUT_PERIOD_SIZE,
82 .period_size = IN_PERIOD_SIZE,
92 .period_size = SCO_PERIOD_SIZE,
312 out->buffer_frames = (pcm_config_out.period_size * out->pcm_config->rate) /
385 in->pcm_config->period_size);
422 in->frames_in = in->pcm_config->period_size;
434 buffer->i16 = in->buffer + (in->pcm_config->period_size - in->frames_in);
506 return pcm_config_out.period_size *
601 return (pcm_config_out.period_size * period_count * 1000) / pcm_config_out.rate;
655 out->write_threshold = out->pcm_config->period_size * period_count
688 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
  /device/samsung/tuna/audio/
audio_hw.c 309 .period_size = DEEP_BUFFER_LONG_PERIOD_SIZE,
320 .period_size = SHORT_PERIOD_SIZE,
335 .period_size = HDMI_MULTI_PERIOD_SIZE,
345 .period_size = CAPTURE_PERIOD_SIZE,
353 .period_size = 160,
2055 size_t period_size; local
    [all...]

Completed in 413 milliseconds