Lines Matching defs:extplug
593 The following fields have to be filled in extplug record before calling
647 slave PCM. Therefore it could differ and the extplug has to support conversion
650 corresponding parameter. For example if the extplug does not support channel nor
659 * \brief Create an extplug instance
660 * \param extplug the extplug handle
668 * Creates the extplug instance based on the given handle.
673 * The callback is the mandatory field of extplug handle. At least, start, stop and
676 int snd_pcm_extplug_create(snd_pcm_extplug_t *extplug, const char *name,
686 assert(extplug && extplug->callback);
687 assert(extplug->callback->transfer);
691 if (extplug->version < 0x010000 ||
692 extplug->version > SND_PCM_EXTPLUG_VERSION) {
693 SNDERR("extplug: Plugin version mismatch: 0x%x",
694 extplug->version);
710 ext->data = extplug;
711 extplug->stream = stream;
720 if (extplug->version >= 0x010001 && extplug->callback->init)
729 extplug->pcm = pcm;
743 * \brief Delete the extplug instance
744 * \param extplug the extplug handle to delete
747 * The destructor of extplug instance.
750 int snd_pcm_extplug_delete(snd_pcm_extplug_t *extplug)
752 return snd_pcm_close(extplug->pcm);
757 * \brief Reset extplug parameters
758 * \param extplug the extplug handle
760 * Resets the all parameters for the given extplug handle.
762 void snd_pcm_extplug_params_reset(snd_pcm_extplug_t *extplug)
764 extplug_priv_t *ext = extplug->pcm->private_data;
770 * \param extplug the extplug handle
780 int snd_pcm_extplug_set_slave_param_list(snd_pcm_extplug_t *extplug, int type, unsigned int num_list, const unsigned int *list)
782 extplug_priv_t *ext = extplug->pcm->private_data;
792 * \param extplug the extplug handle
802 int snd_pcm_extplug_set_slave_param_minmax(snd_pcm_extplug_t *extplug, int type, unsigned int min, unsigned int max)
804 extplug_priv_t *ext = extplug->pcm->private_data;
818 * \param extplug the extplug handle
828 int snd_pcm_extplug_set_param_list(snd_pcm_extplug_t *extplug, int type, unsigned int num_list, const unsigned int *list)
830 extplug_priv_t *ext = extplug->pcm->private_data;
840 * \param extplug the extplug handle
850 int snd_pcm_extplug_set_param_minmax(snd_pcm_extplug_t *extplug, int type, unsigned int min, unsigned int max)
852 extplug_priv_t *ext = extplug->pcm->private_data;
866 * is for example useful if this extplug does not support any channel
868 * @param extplug the extplug handle
871 * for the client and slave PCM of this extplug
874 int snd_pcm_extplug_set_param_link(snd_pcm_extplug_t *extplug, int type,
877 extplug_priv_t *ext = extplug->pcm->private_data;