return ctl->ops->element_info(ctl, info);
}
+#ifndef DOC_HIDDEN
#if 0 /* deprecated */
static bool validate_element_member_dimension(snd_ctl_elem_info_t *info)
{
return ctl->ops->element_add(ctl, info);
}
+#endif /* DOC_HIDDEN */
+
/**
* \brief Create and add some user-defined control elements of integer type.
* \param ctl A handle of backend module for control interface.
const char *_snd_module_control_hw = "";
#endif
+#ifndef DOC_HIDDEN
+
#ifndef F_SETSIG
#define F_SETSIG 10
#endif
-#ifndef DOC_HIDDEN
#define SNDRV_FILE_CONTROL ALSA_DEVICE_DIRECTORY "controlC%i"
#define SNDRV_CTL_VERSION_MAX SNDRV_PROTOCOL_VERSION(2, 0, 4)
#include <unistd.h>
#include <string.h>
+#ifndef DOC_HIDDEN
#if 0
#define REMAP_DEBUG 1
#define debug(format, args...) fprintf(stderr, format, ##args)
#endif
#define EREMAPNOTFOUND (888899)
+#endif /* DOC_HIDDEN */
#ifndef PIC
/* entry for static linking */
return 0;
}
+#ifndef DOC_HIDDEN
#define ACCESS_BITS(bits) \
(bits & (SNDRV_CTL_ELEM_ACCESS_READWRITE|\
SNDRV_CTL_ELEM_ACCESS_VOLATILE|\
SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE))
+#endif /* DOC_HIDDEN */
static int remap_map_elem_info(snd_ctl_remap_t *priv, snd_ctl_elem_info_t *info)
{
* \param name Name of control device
* \param remap Remap configuration
* \param map Map configuration
+ * \param child child configuration root
* \param mode Control handle mode
* \retval zero on success otherwise a negative error code
* \warning Using of this function might be dangerous in the sense
snd_ctl_close(cctl);
return err;
}
+#ifndef DOC_HIDDEN
SND_DLSYM_BUILD_VERSION(_snd_ctl_remap_open, SND_CONTROL_DLSYM_VERSION);
+#endif