Home
last modified time | relevance | path

Searched refs:SND_PCM_STREAM_PLAYBACK (Results 1 - 25 of 57) sorted by relevance

123

/third_party/alsa-utils/axfer/
H A Dmain.c147 {"--playback", SND_PCM_STREAM_PLAYBACK}, in decide_direction()
154 {'P', SND_PCM_STREAM_PLAYBACK}, in decide_direction()
158 [SND_PCM_STREAM_PLAYBACK] = "aplay", in decide_direction()
237 *direction = SND_PCM_STREAM_PLAYBACK; in detect_direction()
254 direction = SND_PCM_STREAM_PLAYBACK; in main()
H A Dxfer.c54 assert(direction >= SND_PCM_STREAM_PLAYBACK); in xfer_context_init()
141 } else if (xfer->direction == SND_PCM_STREAM_PLAYBACK) { in xfer_context_pre_process()
H A Dsubcmd-list.c144 [SND_PCM_STREAM_PLAYBACK] = "Output", in list_pcms()
/third_party/alsa-lib/src/pcm/
H A Dpcm_asym.c92 if (stream == SND_PCM_STREAM_PLAYBACK) in _snd_pcm_asym_open()
106 stream == SND_PCM_STREAM_PLAYBACK ? "playback" : "capture"); in _snd_pcm_asym_open()
H A Dpcm_share.c126 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_share_slave_avail()
156 if (pcm->stream != SND_PCM_STREAM_PLAYBACK) in _snd_pcm_share_slave_forward()
214 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) in _snd_pcm_share_missing()
256 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in _snd_pcm_share_missing()
293 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in _snd_pcm_share_missing()
315 if (pcm->stream == SND_PCM_STREAM_PLAYBACK && in _snd_pcm_share_missing()
397 if (spcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_share_thread()
451 if (spcm->stream == SND_PCM_STREAM_PLAYBACK) in _snd_pcm_share_update()
669 if (slave->pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_share_hw_params()
705 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_share_status()
[all...]
H A Dpcm_meter.c208 spcm->stream != SND_PCM_STREAM_PLAYBACK)) { in snd_pcm_meter_thread()
222 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_meter_thread()
300 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_meter_prepare()
313 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_meter_reset()
335 if (err > 0 && pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_meter_rewind()
344 if (err > 0 && pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_meter_forward()
358 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_meter_mmap_commit()
H A Dpcm_rate.c366 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_rate_hw_params()
643 if (pcm->stream != SND_PCM_STREAM_PLAYBACK) in snd_pcm_rate_sync_hwptr0()
705 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_rate_delay()
1034 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_rate_mmap_commit()
1116 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_rate_poll_revents()
1129 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_rate_drain()
1230 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_rate_status()
1238 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_rate_status()
1295 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_rate_slave_frames()
H A Dpcm_ladspa.c231 if (ladspa->channels > 0 && pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_ladspa_hw_refine_cprepare()
324 list = pcm->stream == SND_PCM_STREAM_PLAYBACK ? &ladspa->pplugins : &ladspa->cplugins; in snd_pcm_ladspa_free_instances()
620 list = pcm->stream == SND_PCM_STREAM_PLAYBACK ? &ladspa->pplugins : &ladspa->cplugins; in snd_pcm_ladspa_allocate_instances()
622 (pcm->stream == SND_PCM_STREAM_PLAYBACK ? pcm->channels : ladspa->plug.gen.slave->channels); in snd_pcm_ladspa_allocate_instances()
698 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_ladspa_allocate_memory()
708 list = pcm->stream == SND_PCM_STREAM_PLAYBACK ? &ladspa->pplugins : &ladspa->cplugins; in snd_pcm_ladspa_allocate_memory()
1617 if (slave->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_ladspa_open()
H A Dpcm_linear.c315 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_linear_hw_params()
323 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_linear_hw_params()
H A Dpcm_null.c386 if (stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_null_open()
417 pcm->poll_events = stream == SND_PCM_STREAM_PLAYBACK ? POLLOUT : POLLIN; in snd_pcm_null_open()
H A Dpcm_mmap_emul.c326 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_mmap_emul_mmap_commit()
336 if (!map->mmap_emul || pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_mmap_emul_avail_update()
H A Dpcm_hw.c723 assert(pcm->stream != SND_PCM_STREAM_PLAYBACK || in snd_pcm_hw_start()
759 if (pcm->stream != SND_PCM_STREAM_PLAYBACK) in snd_pcm_hw_drain()
1249 if (stream == SND_PCM_STREAM_PLAYBACK) in __fill_chmap_ctl_id()
1718 pcm->poll_events = info.stream == SND_PCM_STREAM_PLAYBACK ? POLLOUT : POLLIN; in snd_pcm_hw_open_fd()
1771 case SND_PCM_STREAM_PLAYBACK: in snd_pcm_hw_open()
/third_party/alsa-lib/test/
H A Dpcm-multi-thread.c41 static int stream = SND_PCM_STREAM_PLAYBACK;
149 stream = SND_PCM_STREAM_PLAYBACK; in parse_options()
242 if (stream == SND_PCM_STREAM_PLAYBACK) in main()
H A Dchmap.c155 int stream = SND_PCM_STREAM_PLAYBACK; in main()
171 stream = SND_PCM_STREAM_PLAYBACK; in main()
H A Dpcm_min.c20 if ((err = snd_pcm_open(&handle, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in main()
H A Domixer.c59 err = snd_pcm_open(&phandle, pname, SND_PCM_STREAM_PLAYBACK, 0); in main()
H A Dcontrol.c55 snd_pcm_info_set_stream(pcminfo, SND_PCM_STREAM_PLAYBACK); in main()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
H A Daudio.c155 if (type == SND_PCM_STREAM_PLAYBACK) in set_hw_params()
179 type == SND_PCM_STREAM_PLAYBACK ? "Playback" : "Capture", rate); in set_hw_params()
246 SND_PCM_STREAM_PLAYBACK)) { in callback_audio()
/third_party/ffmpeg/libavdevice/
H A Dalsa_enc.c67 res = ff_alsa_open(s1, SND_PCM_STREAM_PLAYBACK, &sample_rate, in audio_write_header()
151 return ff_alsa_get_device_list(device_list, SND_PCM_STREAM_PLAYBACK); in audio_get_device_list()
H A Dalsa.c280 if (find_reorder_func(s, *codec_id, layout, mode == SND_PCM_STREAM_PLAYBACK) < 0) { in ff_alsa_open()
284 name, mode == SND_PCM_STREAM_PLAYBACK ? "playback" : "capture"); in ff_alsa_open()
312 if (snd_pcm_stream(s->h) == SND_PCM_STREAM_PLAYBACK) { in ff_alsa_close()
368 const char *filter = stream_type == SND_PCM_STREAM_PLAYBACK ? "Output" : "Input"; in ff_alsa_get_device_list()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-audio/
H A Daudio.c66 if (type == SND_PCM_STREAM_PLAYBACK) in set_hw_params()
118 SND_PCM_STREAM_PLAYBACK)) { in callback_raw_test()
/third_party/alsa-lib/src/control/
H A Dcontrol_local.h135 return info->stream == SND_PCM_STREAM_PLAYBACK && in __snd_pcm_info_eld_fixup_check()
/third_party/alsa-utils/aplay/
H A Daplay.c113 static snd_pcm_stream_t stream = SND_PCM_STREAM_PLAYBACK;
558 stream = SND_PCM_STREAM_PLAYBACK;
765 stream = SND_PCM_STREAM_PLAYBACK;
916 if (stream == SND_PCM_STREAM_PLAYBACK)
922 if (stream == SND_PCM_STREAM_PLAYBACK)
929 if (stream == SND_PCM_STREAM_PLAYBACK)
1698 stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),
1709 stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),
1718 stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),
2864 name = (stream == SND_PCM_STREAM_PLAYBACK)
[all...]
/third_party/alsa-utils/alsactl/
H A Dinfo.c233 err = pcm_device_list(ctl, SND_PCM_STREAM_PLAYBACK, &first); in general_card_info()
/third_party/pulseaudio/src/tests/
H A Dalsa-time-test.c69 r = snd_pcm_open(&pcm, dev, SND_PCM_STREAM_PLAYBACK, 0); in main()

Completed in 28 milliseconds

123