Searched refs:PCM_MONO (Results 1 – 6 of 6) sorted by relevance
341 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 …]
678 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()
408 …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()
91 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()
145 if (pcm->flags & PCM_MONO) { in set_params()194 flags |= PCM_MONO; in record_file()268 if (pcm->flags & PCM_MONO) { in record_file()
58 #define PCM_MONO 0x01000000 macro