Lines Matching defs:size
109 The size of input/output pools can be changed independently.
110 The output pool has also a room size, which is used to wake up the
117 For chancing the pool size and the condition, access to #snd_seq_client_pool_t
120 for setting the total output-pool size, the output-room size and the input-pool
121 size, respectively.
353 \par Fixed size data
1189 * \brief Return the size of output buffer
1191 * \return the size of output buffer in bytes
1193 * Obtains the size of output buffer.
1213 * \brief Return the size of input buffer
1215 * \return the size of input buffer in bytes
1217 * Obtains the size of input buffer.
1231 * \brief Change the size of output buffer
1233 * \param size the size of output buffer to be changed in bytes
1236 * Changes the size of output buffer.
1240 int snd_seq_set_output_buffer_size(snd_seq_t *seq, size_t size)
1243 assert(size >= sizeof(snd_seq_event_t));
1245 if (size != seq->obufsize) {
1247 newbuf = calloc(1, size);
1252 seq->obufsize = size;
1260 * \param size the size of input buffer to be changed in bytes
1263 * Changes the size of input buffer.
1267 int snd_seq_set_input_buffer_size(snd_seq_t *seq, size_t size)
1273 assert(size >= packet_size);
1275 size = (size + packet_size - 1) / packet_size;
1276 if (size != seq->ibufsize) {
1278 /* use ump event size for avoiding reallocation at switching */
1279 newbuf = calloc(sizeof(snd_seq_ump_event_t), size);
1284 seq->ibufsize = size;
1291 * \brief Get size of #snd_seq_system_info_t
1292 * \return size in bytes
1432 * \brief get size of #snd_seq_client_info_t
1433 * \return size in bytes
2090 * \brief get size of #snd_seq_port_info_t
2091 * \return size in bytes
2713 * \brief get size of #snd_seq_port_subscribe_t
2714 * \return size in bytes
2971 * \brief get size of #snd_seq_query_subscribe_t
2972 * \return size in bytes
3255 * \brief get size of #snd_seq_queue_info_t
3256 * \return size in bytes
3581 * \brief get size of #snd_seq_queue_status_t
3582 * \return size in bytes
3708 * \brief get size of #snd_seq_queue_tempo_t
3709 * \return size in bytes
3908 * \brief get size of #snd_seq_queue_timer_t
3909 * \return size in bytes
4111 * \brief calculates the (encoded) byte-stream size of the event
4113 * \return the size of decoded bytes
4142 * the size of total byte data on output buffer is returned.
4175 * \return the byte size of remaining events. \c -EAGAIN if the buffer becomes full.
4213 size_t size = ((len + sizeof(snd_seq_event_t) - 1) / sizeof(snd_seq_event_t));
4215 if (size > DEFAULT_TMPBUF_SIZE)
4216 seq->tmpbufsize = size;
4223 seq->tmpbuf = realloc(seq->tmpbuf, size * sizeof(snd_seq_event_t));
4226 seq->tmpbufsize = size;
4235 * \return the byte size sent to sequencer or a negative error code
4266 * \brief return the size of pending events on output buffer
4268 * \return the byte size of total of pending events
4282 * When events still remain on the buffer, the byte size of remaining
4414 * Function returns the byte size of remaining events on the input buffer
4455 * \return the byte size of remaining input events on input buffer.
4458 * the total byte size of events on it.
4511 * \return the byte size of remaining events. \c -EAGAIN if the buffer becomes full.
4545 * \return the byte size sent to sequencer or a negative error code
4657 * \brief get size of #snd_seq_remove_events_t
4658 * \return size in bytes
5017 * \brief get size of #snd_seq_client_pool_t
5018 * \return size in bytes
5072 * \brief Get the output pool size of a queue_info container
5074 * \return output pool size
5083 * \brief Get the input pool size of a queue_info container
5085 * \return input pool size
5094 * \brief Get the output room size of a queue_info container
5096 * \return output room size
5105 * \brief Get the available size on output pool of a queue_info container
5107 * \return available output size
5116 * \brief Get the available size on input pool of a queue_info container
5118 * \return available input size
5127 * \brief Set the output pool size of a queue_info container
5129 * \param size output pool size
5131 void snd_seq_client_pool_set_output_pool(snd_seq_client_pool_t *info, size_t size)
5134 info->output_pool = size;
5138 * \brief Set the input pool size of a queue_info container
5140 * \param size input pool size
5142 void snd_seq_client_pool_set_input_pool(snd_seq_client_pool_t *info, size_t size)
5145 info->input_pool = size;
5149 * \brief Set the output room size of a queue_info container
5151 * \param size output room size
5153 void snd_seq_client_pool_set_output_room(snd_seq_client_pool_t *info, size_t size)
5156 info->output_room = size;