• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/pcm/

Lines Matching refs:extplug

558 The following fields have to be filled in extplug record before calling
613 * \brief Create an extplug instance
614 * \param extplug the extplug handle
622 * Creates the extplug instance based on the given handle.
627 * The callback is the mandatory field of extplug handle. At least, start, stop and
630 int snd_pcm_extplug_create(snd_pcm_extplug_t *extplug, const char *name,
640 assert(extplug && extplug->callback);
641 assert(extplug->callback->transfer);
645 if (extplug->version < 0x010000 ||
646 extplug->version > SND_PCM_EXTPLUG_VERSION) {
647 SNDERR("extplug: Plugin version mismatch: 0x%x\n",
648 extplug->version);
664 ext->data = extplug;
665 extplug->stream = stream;
674 if (extplug->version >= 0x010001 && extplug->callback->init)
683 extplug->pcm = pcm;
696 * \brief Delete the extplug instance
697 * \param extplug the extplug handle to delete
700 * The destructor of extplug instance.
703 int snd_pcm_extplug_delete(snd_pcm_extplug_t *extplug)
705 return snd_pcm_close(extplug->pcm);
710 * \brief Reset extplug parameters
711 * \param extplug the extplug handle
713 * Resets the all parameters for the given extplug handle.
715 void snd_pcm_extplug_params_reset(snd_pcm_extplug_t *extplug)
717 extplug_priv_t *ext = extplug->pcm->private_data;
723 * \param extplug the extplug handle
733 int snd_pcm_extplug_set_slave_param_list(snd_pcm_extplug_t *extplug, int type, unsigned int num_list, const unsigned int *list)
735 extplug_priv_t *ext = extplug->pcm->private_data;
745 * \param extplug the extplug handle
755 int snd_pcm_extplug_set_slave_param_minmax(snd_pcm_extplug_t *extplug, int type, unsigned int min, unsigned int max)
757 extplug_priv_t *ext = extplug->pcm->private_data;
771 * \param extplug the extplug handle
781 int snd_pcm_extplug_set_param_list(snd_pcm_extplug_t *extplug, int type, unsigned int num_list, const unsigned int *list)
783 extplug_priv_t *ext = extplug->pcm->private_data;
793 * \param extplug the extplug handle
803 int snd_pcm_extplug_set_param_minmax(snd_pcm_extplug_t *extplug, int type, unsigned int min, unsigned int max)
805 extplug_priv_t *ext = extplug->pcm->private_data;