Home
last modified time | relevance | path

Searched refs:PCM_MONO (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_pcm.c408 …nc_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr + ((pcm->flags & PCM_MONO) ? pcm->buffer_si… in pcm_avail()
436 int channels = (pcm->flags & PCM_MONO) ? 1 : 2; in mmap_buffer()
461 …appl_ptr = (pcm->flags & PCM_MONO) ? sync_ptr->c.control.appl_ptr*2 : sync_ptr->c.control.appl_ptr… in dst_address()
474 int channels = (pcm->flags & PCM_MONO) ? 1 : 2; in mmap_transfer()
496 int channels = (pcm->flags & PCM_MONO) ? 1 : 2; in mmap_transfer_capture()
497 …unsigned int tmp = (pcm->flags & PCM_MONO) ? sync_ptr->c.control.appl_ptr*2 : sync_ptr->c.control.… in mmap_transfer_capture()
528 frames = (pcm->flags & PCM_MONO) ? (count / 2) : (count / 4); in pcm_write_mmap()
575 int channels = (pcm->flags & PCM_MONO) ? 1 : ((pcm->flags & PCM_5POINT1)? 6 : 2 ); in pcm_write_nmmap()
619 if (pcm->flags & PCM_MONO) { in pcm_read()
Daplay.c91 int channels = (pcm->flags & PCM_MONO) ? 1 : ((pcm->flags & PCM_5POINT1)? 6 : 2 ); in set_params()
185 flags |= PCM_MONO; in play_file()
281 frames = (pcm->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4); in play_file()
341 frames = (pcm->flags & PCM_MONO) ? (remainingData / 2) : (remainingData / 4); in play_file()
Darec.c145 if (pcm->flags & PCM_MONO) { in set_params()
194 flags |= PCM_MONO; in record_file()
268 if (pcm->flags & PCM_MONO) { in record_file()
Dalsa_audio.h58 #define PCM_MONO 0x01000000 macro
/hardware/qcom/audio/legacy/alsa_sound/
Dalsa_default.cpp678 flags |= PCM_MONO; in s_open()
741 flags |= PCM_MONO; in s_start_voip_call()
785 flags |= PCM_MONO; in s_start_voip_call()
840 flags = PCM_OUT | PCM_MONO; in s_start_voice_call()
885 flags = PCM_IN | PCM_MONO; in s_start_voice_call()