Lines Matching refs:pcm
278 status_t AudioUsbALSA::setHardwareParams(pcm *txHandle, uint32_t sampleRate, uint32_t channels, int… in setHardwareParams()
327 status_t AudioUsbALSA::setSoftwareParams(pcm *pcm, bool playback) in setSoftwareParams() argument
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()
350 params->stop_threshold = pcm->buffer_size; in setSoftwareParams()
352 params->xfer_align = (pcm->flags & PCM_MONO) ? pcm->period_size/2 : pcm->period_size/4; in setSoftwareParams()
356 if (param_set_sw_params(pcm, params)) { in setSoftwareParams()
364 status_t AudioUsbALSA::closeDevice(pcm *handle) in closeDevice()
590 struct pcm * AudioUsbALSA::configureDevice(unsigned flags, char* hw, int sampleRate, int channelCou… in configureDevice()
592 struct pcm * handle = NULL; in configureDevice()
637 status_t AudioUsbALSA::startDevice(pcm *handle, bool *killThread) { in startDevice()
666 status_t AudioUsbALSA::syncPtr(struct pcm *handle, bool *killThread) { in syncPtr()