Lines Matching refs:pcm_device_id

1942     in->pcm_device_id = platform_get_pcm_device_id(in->usecase, PCM_CAPTURE);  in start_input_stream()
1943 if (in->pcm_device_id < 0) { in start_input_stream()
1987 __func__, adev->snd_card, in->pcm_device_id, in->config.channels); in start_input_stream()
1990 in->pcm = pcm_open(adev->snd_card, in->pcm_device_id, in start_input_stream()
2349 adev->visualizer_stop_output(out->handle, out->pcm_device_id); in stop_output_stream()
2351 adev->offload_effects_stop_output(out->handle, out->pcm_device_id); in stop_output_stream()
2411 struct pcm* pcm_open_prepare_helper(unsigned int snd_card, unsigned int pcm_device_id, in pcm_open_prepare_helper() argument
2418 pcm = pcm_open(snd_card, pcm_device_id, flags, config); in pcm_open_prepare_helper()
2485 out->pcm_device_id = platform_get_pcm_device_id(out->usecase, PCM_PLAYBACK); in start_output_stream()
2486 if (out->pcm_device_id < 0) { in start_output_stream()
2488 __func__, out->pcm_device_id, out->usecase); in start_output_stream()
2547 __func__, adev->snd_card, out->pcm_device_id, out->config.format); in start_output_stream()
2550 out->compr = compress_open(adev->snd_card, out->pcm_device_id, in start_output_stream()
2566 adev->visualizer_start_output(out->handle, out->pcm_device_id, in start_output_stream()
2570 adev->offload_effects_start_output(out->handle, out->pcm_device_id); in start_output_stream()
2592 out->pcm = pcm_open_prepare_helper(adev->snd_card, out->pcm_device_id, in start_output_stream()
3355 int pcm_device_id = platform_get_pcm_device_id(out->usecase, in out_set_compr_volume() local
3362 "Compress Playback %d Volume", pcm_device_id); in out_set_compr_volume()
3395 int pcm_device_id = platform_get_pcm_device_id(out->usecase, PCM_PLAYBACK); in out_set_pcm_volume() local
3396 snprintf(mixer_ctl_name, sizeof(mixer_ctl_name), "Playback %d Volume", pcm_device_id); in out_set_pcm_volume()
4055 out->pcm_device_id = platform_get_pcm_device_id(out->usecase, PCM_PLAYBACK); in out_create_mmap_buffer()
4056 if (out->pcm_device_id < 0) { in out_create_mmap_buffer()
4058 __func__, out->pcm_device_id, out->usecase); in out_create_mmap_buffer()
4066 __func__, adev->snd_card, out->pcm_device_id, out->config.channels); in out_create_mmap_buffer()
4067 out->pcm = pcm_open(adev->snd_card, out->pcm_device_id, in out_create_mmap_buffer()
4083 out->pcm_device_id, 0 /*playback*/, in out_create_mmap_buffer()
4390 snprintf(mixer_ctl_name, sizeof(mixer_ctl_name), "Capture %d Volume", in->pcm_device_id); in in_set_gain()
4795 in->pcm_device_id = platform_get_pcm_device_id(in->usecase, PCM_CAPTURE); in in_create_mmap_buffer()
4796 if (in->pcm_device_id < 0) { in in_create_mmap_buffer()
4798 __func__, in->pcm_device_id, in->usecase); in in_create_mmap_buffer()
4806 __func__, adev->snd_card, in->pcm_device_id, in->config.channels); in in_create_mmap_buffer()
4807 in->pcm = pcm_open(adev->snd_card, in->pcm_device_id, in in_create_mmap_buffer()
4824 in->pcm_device_id, 1 /*capture*/, in in_create_mmap_buffer()