Home
last modified time | relevance | path

Searched refs:port_count (Results 1 – 12 of 12) sorted by relevance

/third_party/alsa-utils/seq/aplaymidi/
Darecordmidi.c66 static int port_count; variable
169 ++port_count; in parse_ports()
170 ports = realloc(ports, port_count * sizeof(snd_seq_addr_t)); in parse_ports()
173 err = snd_seq_parse_address(seq, &ports[port_count - 1], port_name); in parse_ports()
219 snd_seq_ev_set_source(&ev, port_count); in metronome_note()
230 snd_seq_ev_set_source(&ev, port_count); in metronome_echo()
231 snd_seq_ev_set_dest(&ev, client, port_count); in metronome_echo()
255 snd_seq_ev_set_source(&ev, port_count); in metronome_set_program()
265 num_tracks = port_count; in init_tracks()
346 for (i = 0; i < port_count; ++i) { in create_ports()
[all …]
Daplaymidi.c68 static int port_count; variable
150 ++port_count; in parse_ports()
151 ports = realloc(ports, port_count * sizeof(snd_seq_addr_t)); in parse_ports()
154 err = snd_seq_parse_address(seq, &ports[port_count - 1], port_name); in parse_ports()
202 for (i = 0; i < port_count; ++i) { in connect_ports()
404 port = read_byte() % port_count; in read_track()
906 if (port_count < 1) { in main()
911 if (port_count < 1) { in main()
/third_party/gstreamer/gstplugins_good/ext/jack/
Dgstjackaudiosrc.c100 while (src->port_count > channels) in gst_jack_audio_src_allocate_channels()
101 jack_port_unregister (client, src->ports[--src->port_count]); in gst_jack_audio_src_allocate_channels()
108 while (src->port_count < channels) { in gst_jack_audio_src_allocate_channels()
114 src->port_count + 1); in gst_jack_audio_src_allocate_channels()
115 src->ports[src->port_count] = in gst_jack_audio_src_allocate_channels()
118 if (src->ports[src->port_count] == NULL) in gst_jack_audio_src_allocate_channels()
121 src->port_count++; in gst_jack_audio_src_allocate_channels()
137 while (src->port_count) { in gst_jack_audio_src_free_channels()
142 src->port_count--; in gst_jack_audio_src_free_channels()
674 for (i = 0; i < src->port_count; i++) { in gst_jack_ring_buffer_delay()
[all …]
Dgstjackaudiosink.c79 while (sink->port_count > channels) { in gst_jack_audio_sink_allocate_channels()
80 jack_port_unregister (client, sink->ports[--sink->port_count]); in gst_jack_audio_sink_allocate_channels()
88 while (sink->port_count < channels) { in gst_jack_audio_sink_allocate_channels()
94 sink->port_count + 1); in gst_jack_audio_sink_allocate_channels()
95 sink->ports[sink->port_count] = in gst_jack_audio_sink_allocate_channels()
98 if (sink->ports[sink->port_count] == NULL) in gst_jack_audio_sink_allocate_channels()
101 sink->port_count++; in gst_jack_audio_sink_allocate_channels()
117 while (sink->port_count) { in gst_jack_audio_sink_free_channels()
122 sink->port_count--; in gst_jack_audio_sink_free_channels()
666 for (i = 0; i < sink->port_count; i++) { in gst_jack_ring_buffer_delay()
[all …]
Dgstjackaudiosrc.h83 int port_count; member
Dgstjackaudiosink.h66 int port_count; member
/third_party/alsa-utils/seq/aseqdump/
Daseqdump.c34 static int port_count; variable
95 ++port_count; in parse_ports()
96 ports = realloc(ports, port_count * sizeof(snd_seq_addr_t)); in parse_ports()
99 err = snd_seq_parse_address(seq, &ports[port_count - 1], port_name); in parse_ports()
123 for (i = 0; i < port_count; ++i) { in connect_ports()
406 if (port_count > 0) in main()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsamidisrc.c136 alsamidisrc->port_count = g_strv_length (ports_list); in parse_ports()
137 alsamidisrc->seq_ports = g_try_new (snd_seq_addr_t, alsamidisrc->port_count); in parse_ports()
144 for (i = 0; i < alsamidisrc->port_count; i++) { in parse_ports()
276 for (i = 0; i < alsamidisrc->port_count; ++i) { in connect_ports()
546 alsamidisrc->port_count = 0; in gst_alsa_midi_src_start()
Dgstalsamidisrc.h59 int port_count; member
/third_party/pulseaudio/src/modules/
Dmodule-card-restore.c305 uint32_t port_count = 0; in entry_read() local
311 if (pa_tagstruct_getu32(t, &port_count) < 0) in entry_read()
314 for (i = 0; i < port_count; i++) { in entry_read()
/third_party/rust/crates/libc/src/unix/haiku/
Dnative.rs906 pub fn port_count(port: port_id) -> ::ssize_t; in port_count() function
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h72301 unsigned int port_count; member