Home
last modified time | relevance | path

Searched refs:snd_node (Results 1 – 14 of 14) sorted by relevance

/external/tinyalsa_new/src/
Dsnd_card_plugin.h40 struct snd_node { struct
62 struct snd_node *snd_utils_open_pcm(unsigned int card, unsigned int device); argument
64 struct snd_node *snd_utils_open_mixer(unsigned int card);
66 void snd_utils_close_dev_node(struct snd_node *node);
68 enum snd_node_type snd_utils_get_node_type(struct snd_node *node);
70 int snd_utils_get_int(struct snd_node *node, const char *prop, int *val);
72 int snd_utils_get_str(struct snd_node *node, const char *prop, char **val);
Dsnd_card_plugin.c44 int snd_utils_get_int(struct snd_node *node, const char *prop, int *val) in snd_utils_get_int()
52 int snd_utils_get_str(struct snd_node *node, const char *prop, char **val) in snd_utils_get_str()
60 void snd_utils_close_dev_node(struct snd_node *node) in snd_utils_close_dev_node()
74 enum snd_node_type snd_utils_get_node_type(struct snd_node *node) in snd_utils_get_node_type()
86 static int snd_utils_resolve_symbols(struct snd_node *node) in snd_utils_resolve_symbols()
94 static struct snd_node *snd_utils_open_dev_node(unsigned int card, in snd_utils_open_dev_node()
98 struct snd_node *node; in snd_utils_open_dev_node()
140 struct snd_node* snd_utils_open_pcm(unsigned int card, in snd_utils_open_pcm()
146 struct snd_node* snd_utils_open_mixer(unsigned int card) in snd_utils_open_mixer()
Dpcm.c327 struct snd_node *snd_node; member
707 void *snd_node = NULL, *data; in pcm_params_get() local
712 fd = ops->open(card, device, flags, &data, snd_node); in pcm_params_get()
717 snd_node = snd_utils_open_pcm(card, device); in pcm_params_get()
718 pcm_type = snd_utils_get_node_type(snd_node); in pcm_params_get()
719 if (!snd_node || pcm_type != SND_NODE_TYPE_PLUGIN) { in pcm_params_get()
725 fd = ops->open(card, device, flags, &data, snd_node); in pcm_params_get()
745 if (snd_node) in pcm_params_get()
746 snd_utils_close_dev_node(snd_node); in pcm_params_get()
756 if (snd_node) in pcm_params_get()
[all …]
Dpcm_io.h36 struct snd_node;
40 unsigned int flags, void **data, struct snd_node *node);
Dpcm_hw.c55 struct snd_node *node;
101 unsigned int flags, void **data, struct snd_node *node) in pcm_hw_open()
Dpcm_plugin.c708 unsigned int flags, void **data, struct snd_node *pcm_node) in pcm_plug_open()
/external/tinycompress/
Dsnd_utils.h36 struct snd_node { struct
61 struct snd_node *snd_utils_get_dev_node(unsigned int card, argument
64 void snd_utils_put_dev_node(struct snd_node *node);
66 enum snd_node_type snd_utils_get_node_type(struct snd_node *node);
68 int snd_utils_get_int(struct snd_node *node, const char *prop, int *val);
70 int snd_utils_get_str(struct snd_node *node, const char *prop, char **val);
Dsnd_utils.c44 int snd_utils_get_int(struct snd_node *node, const char *prop, int *val) in snd_utils_get_int()
52 int snd_utils_get_str(struct snd_node *node, const char *prop, char **val) in snd_utils_get_str()
60 void snd_utils_put_dev_node(struct snd_node *node) in snd_utils_put_dev_node()
74 enum snd_node_type snd_utils_get_node_type(struct snd_node *node) in snd_utils_get_node_type()
87 static int snd_utils_resolve_symbols(struct snd_node *node) in snd_utils_resolve_symbols()
110 struct snd_node *snd_utils_get_dev_node(unsigned int card, in snd_utils_get_dev_node()
113 struct snd_node *node; in snd_utils_get_dev_node()
Dcompress.c99 void *snd_node; member
215 compress->snd_node = snd_utils_get_dev_node(card, device, NODE_COMPRESS); in compress_open()
216 compress_type = snd_utils_get_node_type(compress->snd_node); in compress_open()
223 &compress->data, compress->snd_node); in compress_open()
262 snd_utils_put_dev_node(compress->snd_node); in compress_open()
277 snd_utils_put_dev_node(compress->snd_node); in compress_close()
565 void *snd_node, *data; in is_codec_supported() local
569 snd_node = snd_utils_get_dev_node(card, device, NODE_COMPRESS); in is_codec_supported()
570 compress_type = snd_utils_get_node_type(snd_node); in is_codec_supported()
583 snd_utils_put_dev_node(snd_node); in is_codec_supported()
/external/tinyalsa/
Dsnd_utils.h36 struct snd_node { struct
60 struct snd_node *snd_utils_get_dev_node(unsigned int card, argument
63 void snd_utils_put_dev_node(struct snd_node *node);
65 enum snd_node_type snd_utils_get_node_type(struct snd_node *node);
67 int snd_utils_get_int(struct snd_node *node, const char *prop, int *val);
69 int snd_utils_get_str(struct snd_node *node, const char *prop, char **val);
Dsnd_utils.c44 int snd_utils_get_int(struct snd_node *node, const char *prop, int *val) in snd_utils_get_int()
52 int snd_utils_get_str(struct snd_node *node, const char *prop, char **val) in snd_utils_get_str()
60 void snd_utils_put_dev_node(struct snd_node *node) in snd_utils_put_dev_node()
74 enum snd_node_type snd_utils_get_node_type(struct snd_node *node) in snd_utils_get_node_type()
87 static int snd_utils_resolve_symbols(struct snd_node *node) in snd_utils_resolve_symbols()
110 struct snd_node *snd_utils_get_dev_node(unsigned int card, in snd_utils_get_dev_node()
113 struct snd_node *node; in snd_utils_get_dev_node()
Dpcm.c273 void *snd_node; member
615 void *snd_node, *data; in pcm_params_get() local
618 snd_node = snd_utils_get_dev_node(card, device, NODE_PCM); in pcm_params_get()
619 pcm_type = snd_utils_get_node_type(snd_node); in pcm_params_get()
625 fd = ops->open(card, device, flags, &data, snd_node); in pcm_params_get()
642 snd_utils_put_dev_node(snd_node); in pcm_params_get()
652 snd_utils_put_dev_node(snd_node); in pcm_params_get()
891 if (pcm->snd_node) in pcm_close()
892 snd_utils_put_dev_node(pcm->snd_node); in pcm_close()
923 pcm->snd_node = snd_utils_get_dev_node(card, device, NODE_PCM); in pcm_open()
[all …]
Dpcm_hw.c52 void *snd_node; member
124 hw_data->snd_node = node; in pcm_hw_open()
/external/tinyalsa_new/include/tinyalsa/
Dplugin.h94 struct snd_node;