Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c185 long frames; in record_file() local
269 frames = bufsize / 2; in record_file()
271 frames = bufsize / 8; in record_file()
273 frames = bufsize / 12; in record_file()
275 frames = bufsize / 4; in record_file()
277 x.frames = frames; in record_file()
300 fprintf(stderr, "Arec:avail 1 = %d frames = %ld\n",avail, frames); in record_file()
307 if (x.frames > avail) in record_file()
308 frames = avail; in record_file()
324 x.frames -= frames; in record_file()
[all …]
Dalsa_pcm.c472 long frames) in mmap_transfer() argument
482 frames = frames * channels *2 ; in mmap_transfer()
484 while (frames-- > 0) { in mmap_transfer()
493 long frames) in mmap_transfer_capture() argument
506 frames = frames * channels *2 ; in mmap_transfer_capture()
508 while (frames-- > 0) { in mmap_transfer_capture()
528 long frames; in pcm_write_mmap() local
532 frames = (pcm->flags & PCM_MONO) ? (count / 2) : (count / 4); in pcm_write_mmap()
543 pcm->sync_ptr->c.control.appl_ptr += frames; in pcm_write_mmap()
584 x.frames = (count / (channels * 2)) ; in pcm_write_nmmap()
[all …]
Daplay.c173 long frames; in play_file() local
281 frames = (pcm->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4); in play_file()
325 fprintf(stderr, "Aplay:avail = %d frames = %d\n",avail, frames); in play_file()
341 frames = (pcm->flags & PCM_MONO) ? (remainingData / 2) : (remainingData / 4); in play_file()
361 pcm->sync_ptr->c.control.appl_ptr += frames; in play_file()
410 offset += frames; in play_file()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp383 long frames; in RecordingThreadEntry() local
432 frames = (musbRecordingHandle->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4); in RecordingThreadEntry()
433 x.frames = (musbRecordingHandle->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4); in RecordingThreadEntry()
492 if (x.frames > avail) in RecordingThreadEntry()
493 frames = avail; in RecordingThreadEntry()
537 musbRecordingHandle->sync_ptr->c.control.appl_ptr += frames; in RecordingThreadEntry()
549 mproxyRecordingHandle->sync_ptr->c.control.appl_ptr += frames; in RecordingThreadEntry()
772 long frames; in PlaybackThreadEntry() local
839 frames = (mproxyPlaybackHandle->flags & PCM_MONO) ? (proxyPeriod / 2) : (proxyPeriod / 4); in PlaybackThreadEntry()
840 x.frames = (mproxyPlaybackHandle->flags & PCM_MONO) ? (proxyPeriod / 2) : (proxyPeriod / 4); in PlaybackThreadEntry()
[all …]
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp235 const size_t frames = bytes / frame_size; in out_write() local
248 usleep(frames * 1000000 / out_get_sample_rate(&stream->common)); in out_write()
260 written_frames = sink->write(buffer, frames); in out_write()
275 written_frames = sink->write(buffer, frames); in out_write()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device.h154 bool venc_set_ltruse(OMX_U32 id, OMX_U32 frames);
/hardware/libhardware/include/hardware/
Daudio.h377 uint64_t *frames, struct timespec *timestamp);
/hardware/qcom/camera/
DQCamera_Intf.h333 mm_camera_wnr_frame_info_t frames[MM_CAMEAR_MAX_STRAEM_BUNDLE]; member
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp1933 bool venc_dev::venc_set_ltruse(OMX_U32 id, OMX_U32 frames) in venc_set_ltruse() argument
1938 ltr_use.ltr_frames = (unsigned long)frames; in venc_set_ltruse()
1939 DEBUG_PRINT_HIGH("Set ltr use: id = %d, ltr_frames = %d", id, frames); in venc_set_ltruse()
/hardware/qcom/audio/hal/
Daudio_hw.c1512 uint64_t *frames, struct timespec *timestamp) in out_get_presentation_position() argument
1526 *frames = dsp_frames; in out_get_presentation_position()
1544 *frames = signed_frames; in out_get_presentation_position()
/hardware/samsung_slsi/exynos5/include/
Dvideodev2.h521 __u8 frames; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dvideodev2.h545 __u8 frames; member
/hardware/qcom/msm8x74/kernel-headers/linux/
Dvideodev2.h400 __u8 frames; member