Lines Matching defs:handle
27 void set_name(snd_seq_t *handle)
33 if ((err = snd_seq_set_client_name(handle, name)) < 0) {
39 void system_info(snd_seq_t *handle)
45 if ((err = snd_seq_system_info(handle, sysinfo))<0) {
54 void show_system_info(snd_seq_t *handle ATTRIBUTE_UNUSED)
62 void show_queue_status(snd_seq_t *handle, int queue)
71 if ((err = snd_seq_get_queue_status(handle, idx, status))<0) {
86 void show_port_info(snd_seq_t *handle, int client, int port)
95 if ((err = snd_seq_get_any_port_info(handle, client, idx, info))<0) {
114 void show_client_info(snd_seq_t *handle, int client)
123 if ((err = snd_seq_get_any_client_info(handle, idx, info))<0) {
157 snd_seq_t *handle;
204 if ((err = snd_seq_open(&handle, "hw", SND_SEQ_OPEN_DUPLEX, 0))<0) {
208 set_name(handle);
209 system_info(handle);
212 show_system_info(handle);
215 show_queue_status(handle, arg);
218 show_client_info(handle, arg);
226 show_port_info(handle, arg, arg1);
228 event_decoder(handle, argc - optind - 1, argv + optind + 1);
230 event_sender(handle, argc - optind - 1, argv + optind + 1);