Lines Matching refs:snd_rawmidi_info_t
483 * \brief get size of the snd_rawmidi_info_t structure in bytes
484 * \return size of the snd_rawmidi_info_t structure in bytes
488 return sizeof(snd_rawmidi_info_t);
492 * \brief allocate a new snd_rawmidi_info_t structure
499 int snd_rawmidi_info_malloc(snd_rawmidi_info_t **info)
502 *info = calloc(1, sizeof(snd_rawmidi_info_t));
509 * \brief frees the snd_rawmidi_info_t structure
510 * \param info pointer to the snd_rawmidi_info_t structure to free
515 void snd_rawmidi_info_free(snd_rawmidi_info_t *info)
522 * \brief copy one snd_rawmidi_info_t structure to another
523 * \param dst destination snd_rawmidi_info_t structure
524 * \param src source snd_rawmidi_info_t structure
526 void snd_rawmidi_info_copy(snd_rawmidi_info_t *dst, const snd_rawmidi_info_t *src)
534 * \param info pointer to a snd_rawmidi_info_t structure
537 unsigned int snd_rawmidi_info_get_device(const snd_rawmidi_info_t *info)
545 * \param info pointer to a snd_rawmidi_info_t structure
548 unsigned int snd_rawmidi_info_get_subdevice(const snd_rawmidi_info_t *info)
556 * \param info pointer to a snd_rawmidi_info_t structure
559 snd_rawmidi_stream_t snd_rawmidi_info_get_stream(const snd_rawmidi_info_t *info)
567 * \param info pointer to a snd_rawmidi_info_t structure
570 int snd_rawmidi_info_get_card(const snd_rawmidi_info_t *info)
578 * \param info pointer to a snd_rawmidi_info_t structure
581 unsigned int snd_rawmidi_info_get_flags(const snd_rawmidi_info_t *info)
589 * \param info pointer to a snd_rawmidi_info_t structure
592 const char *snd_rawmidi_info_get_id(const snd_rawmidi_info_t *info)
600 * \param info pointer to a snd_rawmidi_info_t structure
603 const char *snd_rawmidi_info_get_name(const snd_rawmidi_info_t *info)
611 * \param info pointer to a snd_rawmidi_info_t structure
614 const char *snd_rawmidi_info_get_subdevice_name(const snd_rawmidi_info_t *info)
622 * \param info pointer to a snd_rawmidi_info_t structure
625 unsigned int snd_rawmidi_info_get_subdevices_count(const snd_rawmidi_info_t *info)
633 * \param info pointer to a snd_rawmidi_info_t structure
636 unsigned int snd_rawmidi_info_get_subdevices_avail(const snd_rawmidi_info_t *info)
644 * \param info pointer to a snd_rawmidi_info_t structure
647 void snd_rawmidi_info_set_device(snd_rawmidi_info_t *info, unsigned int val)
655 * \param info pointer to a snd_rawmidi_info_t structure
658 void snd_rawmidi_info_set_subdevice(snd_rawmidi_info_t *info, unsigned int val)
666 * \param info pointer to a snd_rawmidi_info_t structure
669 void snd_rawmidi_info_set_stream(snd_rawmidi_info_t *info, snd_rawmidi_stream_t val)
678 * \param info pointer to a snd_rawmidi_info_t structure to be filled
681 int snd_rawmidi_info(snd_rawmidi_t *rawmidi, snd_rawmidi_info_t * info)