Home | History | Annotate | Download | only in audio

Lines Matching defs:pcm

584     struct pcm *pcm_modem_dl;
585 struct pcm *pcm_modem_ul;
605 struct pcm *pcm;
623 struct pcm *pcm;
800 /* Open modem PCM channels */
804 ALOGE("cannot open PCM modem DL stream: %s", pcm_get_error(adev->pcm_modem_dl));
812 ALOGE("cannot open PCM modem UL stream: %s", pcm_get_error(adev->pcm_modem_ul));
1321 out->pcm = pcm_open(card, port, PCM_OUT | PCM_MMAP, &out->config);
1323 if (!pcm_is_ready(out->pcm)) {
1324 ALOGE("cannot open pcm_out driver: %s", pcm_get_error(out->pcm));
1325 pcm_close(out->pcm);
1460 status = pcm_get_htimestamp(out->pcm, &kernel_frames, &buffer->time_stamp);
1470 kernel_frames = pcm_get_buffer_size(out->pcm) - kernel_frames;
1538 pcm_close(out->pcm);
1539 out->pcm = NULL;
1727 /* do not allow more than out->write_threshold frames in kernel pcm driver buffer */
1731 if (pcm_get_htimestamp(out->pcm, (unsigned int *)&kernel_frames, &time_stamp) < 0)
1733 kernel_frames = pcm_get_buffer_size(out->pcm) - kernel_frames;
1744 ret = pcm_mmap_write(out->pcm, (void *)buf, out_frames * frame_size);
1823 in->pcm = pcm_open(card, device, PCM_IN, &in->config);
1826 if (!pcm_is_ready(in->pcm)) {
1827 ALOGE("cannot open pcm_in driver: %s", pcm_get_error(in->pcm));
1828 pcm_close(in->pcm);
1903 pcm_close(in->pcm);
1904 in->pcm = NULL;
2035 if (pcm_get_htimestamp(in->pcm, &kernel_frames, &tstamp) < 0) {
2191 if (in->pcm == NULL) {
2204 in->read_status = pcm_read(in->pcm,
2390 ret = pcm_read(in->pcm, buffer, bytes);
2973 /* Set the default route before the PCM stream is opened */