Home
last modified time | relevance | path

Searched refs:SND_PCM_STREAM_CAPTURE (Results 1 – 25 of 39) sorted by relevance

12

/third_party/alsa-utils/axfer/
Dmain.c146 {"--capture", SND_PCM_STREAM_CAPTURE}, in decide_direction()
153 {'C', SND_PCM_STREAM_CAPTURE}, in decide_direction()
157 [SND_PCM_STREAM_CAPTURE] = "arecord", in decide_direction()
232 *direction = SND_PCM_STREAM_CAPTURE; in detect_direction()
Dxfer.c55 assert(direction <= SND_PCM_STREAM_CAPTURE); in xfer_context_init()
133 if (xfer->direction == SND_PCM_STREAM_CAPTURE) { in xfer_context_pre_process()
199 if (xfer->direction == SND_PCM_STREAM_CAPTURE) { in xfer_context_pre_process()
Dxfer-libasound-irq-rw.c46 if (snd_pcm_stream(state->handle) == SND_PCM_STREAM_CAPTURE) in wait_for_avail()
394 if (snd_pcm_stream(state->handle) == SND_PCM_STREAM_CAPTURE) { in irq_rw_pre_process()
Dxfer-libasound.c693 if (snd_pcm_stream(state->handle) == SND_PCM_STREAM_CAPTURE) in xfer_libasound_pre_process()
703 if (snd_pcm_stream(state->handle) == SND_PCM_STREAM_CAPTURE) in xfer_libasound_pre_process()
831 if (snd_pcm_stream(state->handle) == SND_PCM_STREAM_CAPTURE || in xfer_libasound_post_process()
Dsubcmd-list.c144 [SND_PCM_STREAM_CAPTURE] = "Input", in list_pcms()
Dsubcmd-transfer.c337 if (direction == SND_PCM_STREAM_CAPTURE) { in context_pre_process()
Dxfer-libffado.c68 if (direction == SND_PCM_STREAM_CAPTURE) in xfer_libffado_init()
Dxfer-options.c177 if (xfer->direction == SND_PCM_STREAM_CAPTURE) { in validate_options()
/third_party/alsa-lib/test/
Dpcm-multi-thread.c151 stream = SND_PCM_STREAM_CAPTURE; in parse_options()
238 if (stream == SND_PCM_STREAM_CAPTURE) in main()
251 if (stream == SND_PCM_STREAM_CAPTURE) in main()
Domixer.c68 err = snd_pcm_open(&chandle, cname, SND_PCM_STREAM_CAPTURE, 0); in main()
Dchmap.c168 stream = SND_PCM_STREAM_CAPTURE; in main()
Daudio_time.c248 if ((err = snd_pcm_open(&handle_c, pcm_name, SND_PCM_STREAM_CAPTURE, SND_PCM_NONBLOCK)) < 0) { in main()
/third_party/ffmpeg/libavdevice/
Dalsa_dec.c75 ret = ff_alsa_open(s1, SND_PCM_STREAM_CAPTURE, &s->sample_rate, s->channels, in audio_read_header()
143 return ff_alsa_get_device_list(device_list, SND_PCM_STREAM_CAPTURE); in audio_get_device_list()
/third_party/alsa-lib/src/pcm/
Dpcm_plugin.c398 if (pcm->stream == SND_PCM_STREAM_CAPTURE) { in snd_pcm_plugin_mmap_commit()
529 if (pcm->stream == SND_PCM_STREAM_CAPTURE && in snd_pcm_plugin_sync_hw_ptr()
566 if (pcm->stream == SND_PCM_STREAM_CAPTURE) { in snd_pcm_plugin_status()
580 if (pcm->stream == SND_PCM_STREAM_CAPTURE && in snd_pcm_plugin_may_wait_for_avail_min()
Dpcm_asym.c97 if (stream == SND_PCM_STREAM_CAPTURE) in _snd_pcm_asym_open()
Dpcm_share.c1021 if (pcm->stream != SND_PCM_STREAM_CAPTURE) in _snd_pcm_share_rewind()
1079 if (pcm->stream != SND_PCM_STREAM_CAPTURE) in _snd_pcm_share_forward()
1135 if (pcm->stream == SND_PCM_STREAM_CAPTURE) { in _snd_pcm_share_stop()
1230 if (pcm->stream == SND_PCM_STREAM_CAPTURE) { in snd_pcm_share_drop()
Dpcm_null.c143 if (pcm->stream == SND_PCM_STREAM_CAPTURE) in snd_pcm_null_start()
Dpcm_file.c724 if (pcm->stream != SND_PCM_STREAM_CAPTURE) in snd_pcm_file_mmap_begin()
932 if (ifname && (stream == SND_PCM_STREAM_CAPTURE)) { in snd_pcm_file_open()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsadeviceprovider.c107 gint streams[] = { SND_PCM_STREAM_CAPTURE, SND_PCM_STREAM_PLAYBACK }; in gst_alsa_device_provider_probe()
312 case SND_PCM_STREAM_CAPTURE: in gst_alsa_device_new()
Dgstalsasrc.c229 src->device, src->handle, SND_PCM_STREAM_CAPTURE)); in gst_alsasrc_get_property()
234 src->device, SND_PCM_STREAM_CAPTURE)); in gst_alsasrc_get_property()
776 CHECK (snd_pcm_open (&alsa->handle, alsa->device, SND_PCM_STREAM_CAPTURE, in gst_alsasrc_open()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-audio/
Daudio.c126 SND_PCM_STREAM_CAPTURE)) { in callback_raw_test()
/third_party/pulseaudio/src/tests/
Dalsa-time-test.c71 r = snd_pcm_open(&pcm, dev, SND_PCM_STREAM_CAPTURE, 0); in main()
/third_party/alsa-utils/aplay/
Daplay.c342 filter = stream == SND_PCM_STREAM_CAPTURE ? "Input" : "Output"; in pcm_list()
545 stream = SND_PCM_STREAM_CAPTURE; in main()
750 stream = SND_PCM_STREAM_CAPTURE; in main()
850 stream == SND_PCM_STREAM_CAPTURE && in main()
1682 if (stream == SND_PCM_STREAM_CAPTURE) { in xrun()
1982 } else if (stream == SND_PCM_STREAM_CAPTURE && avail > delay) { in do_test_position()
1986 } else if (stream == SND_PCM_STREAM_CAPTURE && savail > sdelay) { in do_test_position()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
Daudio.c254 SND_PCM_STREAM_CAPTURE)) { in callback_audio()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c1095 if ((err = snd_pcm_open(&u->pcm_handle, u->device_name, SND_PCM_STREAM_CAPTURE, in unsuspend()
2219 SND_PCM_STREAM_CAPTURE, in pa_alsa_source_new()
2233 SND_PCM_STREAM_CAPTURE, in pa_alsa_source_new()
2244 SND_PCM_STREAM_CAPTURE, in pa_alsa_source_new()

12