Home
last modified time | relevance | path

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

/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp341 params->avail_min = (pcm->flags & PCM_MONO) ? pcm->period_size/2 : pcm->period_size/4; in setSoftwareParams()
344 params->start_threshold = (pcm->flags & PCM_MONO) ? pcm->period_size*8 : pcm->period_size*4; in setSoftwareParams()
345 params->xfer_align = (pcm->flags & PCM_MONO) ? pcm->period_size*8 : pcm->period_size*4; in setSoftwareParams()
347 params->start_threshold = (pcm->flags & PCM_MONO) ? pcm->period_size/2 : pcm->period_size/4; in setSoftwareParams()
348 params->xfer_align = (pcm->flags & PCM_MONO) ? pcm->period_size/2 : pcm->period_size/4; in setSoftwareParams()
352 params->xfer_align = (pcm->flags & PCM_MONO) ? pcm->period_size/2 : pcm->period_size/4; in setSoftwareParams()
402 int channelFlag = PCM_MONO; in RecordingThreadEntry()
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()
839 frames = (mproxyPlaybackHandle->flags & PCM_MONO) ? (proxyPeriod / 2) : (proxyPeriod / 4); in PlaybackThreadEntry()
[all …]
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()
/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