Lines Matching defs:client

52 A <i>client</i> is created at each time #snd_seq_open() is called.
53 Later on, the attributes of client such as its name string can be changed
58 // create a new client
71 You'll need to know the id number of the client eventually, for example,
73 The client id can be obtained by #snd_seq_client_id() function.
75 A client can have one or more <i>ports</i> to communicate between other
99 Each client owns memory pools on kernel space
103 Since memory pool of each client is independent from others,
104 it avoids such a situation that a client eats the whole events pool
113 Note that ports on the same client share the same memory pool.
177 The connection between ports can be done also by the "third" client.
194 Messaging between clients is performed by sending events from one client to
220 of client id and port id numbers.
247 Usually, a client creates its own queue by
251 a client needs to fill queue field
299 An client that relies on these relative timestamps is the MIDI input port.
313 contains a combination of client id and port id numbers, defined as
315 When an event is passed to sequencer from a client, sequencer fills
316 source.client field
318 It is the responsibility of sender client to
320 both client and port of dest field.
324 When #SND_SEQ_ADDRESS_SUBSCRIBERS is set to the destination client id,
328 A sequencer core has two pre-defined system ports on the system client
333 In order to control a queue from a client, client should send a
342 When each client or port is attached, detached or modified,
473 ev.dest.client = SND_SEQ_CLIENT_SYSTEM;
475 ev.source.client = my_client_id;
538 Note that these flags are not necessary if the client subscribes itself
545 As default, the connection of ports via the third client is always allowed
551 client itself.
561 Suppose that you have a client which will receive data from
566 sender.client = MIDI_input_client;
568 dest.client = my_client;
603 Note that an outsider client may connect other ports.
619 sender.client = 64;
621 dest.client = 128;
642 sender.client = 128;
644 dest.client = 65;
676 sender.client = 128;
678 dest.client = 129;
696 The sender must set this value as the destination client.
968 * After a client is created successfully, an event
1035 * Closes the sequencer client and releases its resources.
1036 * After a client is closed, an event with
1149 * Change the blocking mode of the given client.
1150 * In block mode, the client falls into sleep when it fills the
1151 * output memory pool with full events. The client will be woken up
1171 * \brief Get the client id
1173 * \return the client id
1175 * Returns the id of the specified client.
1177 * A client id is necessary to inquiry or to set the client information.
1178 * A user client is assigned from 128 to 191.
1185 return seq->client;
1476 * \brief Get client id of a client_info container
1478 * \return client id
1485 return info->client;
1489 * \brief Get client type of a client_info container
1491 * \return client type
1493 * The client type is either #SND_SEQ_KERNEL_CLIENT or #SND_SEQ_USER_CLIENT
1494 * for kernel or user client respectively.
1551 * device providing this client, by concatenating <code>"hw:CARD="</code>
1557 * running kernel does not support this operation, and when the client
1582 * The functionality for getting a client's PID and getting a
1583 * client's card was added to the kernel at the same time, so you can
1585 * supports reporting these values. If your own client has a valid
1797 * \brief Set the client id of a client_info container
1799 * \param client client id
1803 void snd_seq_client_info_set_client(snd_seq_client_info_t *info, int client)
1806 info->client = client;
1946 * \brief obtain the information of the given client
1948 * \param client client id
1952 * Obtains the information of the client with a client id specified by
1958 int snd_seq_get_any_client_info(snd_seq_t *seq, int client, snd_seq_client_info_t *info)
1960 assert(seq && info && client >= 0);
1962 info->client = client;
1967 * \brief obtain the current client information
1972 * Obtains the information of the current client stored on info.
1973 * client and type fields are ignored.
1980 return snd_seq_get_any_client_info(seq, seq->client, info);
1984 * \brief set the current client information
1986 * \param info the client info data to set
1989 * Obtains the information of the current client stored on info.
1990 * client and type fields are ignored.
1997 info->client = seq->client;
2003 * \brief query the next client
2007 * Queries the next client.
2008 * The search begins at the client with an id one greater than
2009 * client field in info.
2010 * If a client is found, its attributes are stored in info,
2025 * \param client client number to query
2029 int snd_seq_get_ump_endpoint_info(snd_seq_t *seq, int client, void *info)
2032 return seq->ops->get_ump_info(seq, client,
2040 * \param client sequencer client number to query
2045 int snd_seq_get_ump_block_info(snd_seq_t *seq, int client, int blk, void *info)
2048 return seq->ops->get_ump_info(seq, client,
2054 * \brief Set UMP Endpoint information to the current client
2068 * \brief Set UMP Block information to the current client
2134 * \brief Get client id of a port_info container
2136 * \return client id
2143 return info->addr.client;
2160 * \brief Get client/port address of a port_info container
2162 * \return client/port address pointer
2355 * \brief Set the client id of a port_info container
2357 * \param client client id
2361 void snd_seq_port_info_set_client(snd_seq_port_info_t *info, int client)
2364 info->addr.client = client;
2381 * \brief Set the client/port address of a port_info container
2383 * \param addr client/port address
2559 * \brief create a sequencer port on the current client
2564 * Creates a sequencer port on the current client.
2567 * The client field in \a info argument is overwritten with the current client id.
2581 * - #SND_SEQ_PORT_CAP_NO_EXPORT Subscription management from 3rd client is disallowed
2606 port->addr.client = seq->client;
2611 * \brief delete a sequencer port on the current client
2616 * Deletes the existing sequencer port on the current client.
2625 pinfo.addr.client = seq->client;
2631 * \brief obtain the information of a port on an arbitrary client
2633 * \param client client id to get
2640 int snd_seq_get_any_port_info(snd_seq_t *seq, int client, int port, snd_seq_port_info_t * info)
2642 assert(seq && info && client >= 0 && port >= 0);
2644 info->addr.client = client;
2650 * \brief obtain the information of a port on the current client
2661 return snd_seq_get_any_port_info(seq, seq->client, port, info);
2665 * \brief set the information of a port on the current client
2676 info->addr.client = seq->client;
2686 * Queries the next matching port on the client specified in
2690 * For finding the first port at a certain client, give -1.
3015 * \brief Get the client id of a query_subscribe container
3017 * \return client id
3024 return info->root.client;
3041 * \brief Get the client/port address of a query_subscribe container
3043 * \return client/port address pointer
3158 * \brief Set the client id of a query_subscribe container
3160 * \param client client id
3164 void snd_seq_query_subscribe_set_client(snd_seq_query_subscribe_t *info, int client)
3167 info->root.client = client;
3184 * \brief Set the client/port address of a query_subscribe container
3186 * \param addr client/port address pointer
3232 * At least, the client id, the port id, the index number and
3325 * \brief Get the owner client id of a queue_info container
3327 * \return owner client id
3377 * \brief Set the owner client id of a queue_info container
3379 * \param owner client id
3428 info->owner = seq->client;
3538 * \brief Get the queue usage flag to the client
3541 * \return 1 = client is allowed to access the queue, 0 = not allowed,
3553 info.client = seq->client;
3560 * \brief Set the queue usage flag to the client
3563 * \param used non-zero if the client is allowed
3574 info.client = seq->client;
4492 * Calling this function is allowed only when the client is set to
4566 * Calling this function is allowed only when the client is set to
4907 if (ev->dest.client != info->dest.client ||
5013 * client memory pool
5061 * \brief Get the client id of a queue_info container
5063 * \return client id
5068 return info->client;
5161 * \brief obtain the pool information of the current client
5168 info->client = seq->client;
5177 * Sets the pool information of the current client.
5178 * The client field in \a info is replaced automatically with the current id.
5183 info->client = seq->client;