/third_party/alsa-utils/seq/aseqdump/ |
D | aseqdump.c | 81 char *buf, *s, *port_name; in parse_ports() local 88 for (port_name = s = buf; s; port_name = s + 1) { in parse_ports() 91 s = strchr(port_name, ','); in parse_ports() 99 err = snd_seq_parse_address(seq, &ports[port_count - 1], port_name); in parse_ports() 101 fatal("Invalid port %s - %s", port_name, snd_strerror(err)); in parse_ports()
|
/third_party/alsa-utils/seq/aplaymidi/ |
D | aplaymidi.c | 136 char *buf, *s, *port_name; in parse_ports() local 143 for (port_name = s = buf; s; port_name = s + 1) { in parse_ports() 146 s = strchr(port_name, ','); in parse_ports() 154 err = snd_seq_parse_address(seq, &ports[port_count - 1], port_name); in parse_ports() 156 fatal("Invalid port %s - %s", port_name, snd_strerror(err)); in parse_ports()
|
D | arecordmidi.c | 155 char *buf, *s, *port_name; in parse_ports() local 162 for (port_name = s = buf; s; port_name = s + 1) { in parse_ports() 165 s = strchr(port_name, ','); in parse_ports() 173 err = snd_seq_parse_address(seq, &ports[port_count - 1], port_name); in parse_ports() 175 fatal("Invalid port %s - %s", port_name, snd_strerror(err)); in parse_ports()
|
/third_party/alsa-utils/amidi/ |
D | amidi.c | 47 static char *port_name = "default"; variable 515 port_name = optarg; in main() 619 if ((err = snd_rawmidi_open(inputp, outputp, port_name, SND_RAWMIDI_NONBLOCK)) < 0) { in main() 620 error("cannot open port \"%s\": %s", port_name, snd_strerror(err)); in main() 716 error("cannot read from port \"%s\": %s", port_name, snd_strerror(err)); in main()
|
/third_party/pulseaudio/src/modules/ |
D | module-card-restore.c | 318 const char *port_name = NULL, *profile_name = NULL; in entry_read() local 327 if (pa_tagstruct_gets(t, &port_name) < 0 || in entry_read() 328 !port_name || in entry_read() 329 pa_hashmap_get(e->ports, port_name) || in entry_read() 336 p_info->name = pa_xstrdup(port_name); in entry_read()
|
/third_party/gstreamer/gstplugins_base/ext/alsa/ |
D | gstalsamidisrc.c | 145 gchar *port_name = ports_list[i]; in parse_ports() local 148 port_name); in parse_ports() 150 GST_ERROR_OBJECT (alsamidisrc, "Invalid port %s - %s", port_name, in parse_ports()
|
/third_party/pulseaudio/src/modules/dbus/ |
D | iface-device.c | 969 const char *port_name = NULL; in handle_get_port_by_name() local 977 pa_assert_se(dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &port_name, DBUS_TYPE_INVALID)); in handle_get_port_by_name() 979 if (!(port = pa_hashmap_get(d->ports, port_name))) { in handle_get_port_by_name() 982 "%s: No such port on sink %s.", port_name, d->sink->name); in handle_get_port_by_name() 985 "%s: No such port on source %s.", port_name, d->source->name); in handle_get_port_by_name()
|
/third_party/pulseaudio/src/utils/ |
D | pactl.c | 60 *port_name = NULL, variable 2374 … o = pa_context_set_sink_port_by_name(c, sink_name, port_name, simple_callback, NULL); in context_state_callback() 2386 … o = pa_context_set_source_port_by_name(c, source_name, port_name, simple_callback, NULL); in context_state_callback() 2462 …o = pa_context_set_port_latency_offset(c, card_name, port_name, latency_offset, simple_callback, N… in context_state_callback() 2955 port_name = pa_xstrdup(argv[optind+2]); in main() 2979 port_name = pa_xstrdup(argv[optind+2]); in main() 3199 port_name = pa_xstrdup(argv[optind+2]); in main() 3272 pa_xfree(port_name); in main()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-ucm.c | 1162 static int ucm_port_contains(const char *port_name, const char *dev_name, bool is_sink) { in ucm_port_contains() argument 1168 if (!port_name || !dev_name) in ucm_port_contains() 1171 port_name += is_sink ? strlen(PA_UCM_PRE_TAG_OUTPUT) : strlen(PA_UCM_PRE_TAG_INPUT); in ucm_port_contains() 1173 while ((r = pa_split_in_place(port_name, "+", &len, &state))) { in ucm_port_contains()
|
/third_party/pulseaudio/src/pulse/ |
D | introspect.h | 637 …t_port_latency_offset(pa_context *c, const char *card_name, const char *port_name, int64_t offset,…
|
D | introspect.c | 1923 …t_port_latency_offset(pa_context *c, const char *card_name, const char *port_name, int64_t offset,… in pa_context_set_port_latency_offset() argument 1934 PA_CHECK_VALIDITY_RETURN_NULL(c, port_name && *port_name, PA_ERR_INVALID); in pa_context_set_port_latency_offset() 1942 pa_tagstruct_puts(t, port_name); in pa_context_set_port_latency_offset()
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_ladspa.c | 145 const char *port_name) in snd_pcm_ladspa_find_sport() argument 151 !strcmp(lplug->desc->PortNames[idx], port_name)) { in snd_pcm_ladspa_find_sport()
|
/third_party/pulseaudio/src/pulsecore/ |
D | protocol-native.c | 4897 const char *port_name, *card_name; in command_set_port_latency_offset() local 4908 pa_tagstruct_gets(t, &port_name) < 0 || in command_set_port_latency_offset() 4918 CHECK_VALIDITY(c->pstream, port_name, tag, PA_ERR_INVALID); in command_set_port_latency_offset() 4927 port = pa_hashmap_get(card->ports, port_name); in command_set_port_latency_offset()
|