| /third_party/alsa-utils/axfer/ |
| H A D | main.c | 147 {"--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 D | xfer.c | 54 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 D | subcmd-list.c | 144 [SND_PCM_STREAM_PLAYBACK] = "Output", in list_pcms()
|
| /third_party/alsa-lib/src/pcm/ |
| H A D | pcm_asym.c | 92 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 D | pcm_share.c | 126 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 D | pcm_meter.c | 208 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 D | pcm_rate.c | 366 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 D | pcm_ladspa.c | 231 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 D | pcm_linear.c | 315 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 D | pcm_null.c | 386 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 D | pcm_mmap_emul.c | 326 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 D | pcm_hw.c | 723 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 D | pcm-multi-thread.c | 41 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 D | chmap.c | 155 int stream = SND_PCM_STREAM_PLAYBACK; in main() 171 stream = SND_PCM_STREAM_PLAYBACK; in main()
|
| H A D | pcm_min.c | 20 if ((err = snd_pcm_open(&handle, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in main()
|
| H A D | omixer.c | 59 err = snd_pcm_open(&phandle, pname, SND_PCM_STREAM_PLAYBACK, 0); in main()
|
| H A D | control.c | 55 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 D | audio.c | 155 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 D | alsa_enc.c | 67 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 D | alsa.c | 280 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 D | audio.c | 66 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 D | control_local.h | 135 return info->stream == SND_PCM_STREAM_PLAYBACK && in __snd_pcm_info_eld_fixup_check()
|
| /third_party/alsa-utils/aplay/ |
| H A D | aplay.c | 113 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 D | info.c | 233 err = pcm_device_list(ctl, SND_PCM_STREAM_PLAYBACK, &first); in general_card_info()
|
| /third_party/pulseaudio/src/tests/ |
| H A D | alsa-time-test.c | 69 r = snd_pcm_open(&pcm, dev, SND_PCM_STREAM_PLAYBACK, 0); in main()
|