Home
last modified time | relevance | path

Searched refs:card_node (Results 1 – 7 of 7) sorted by relevance

/external/tinyalsa_new/src/
Dsnd_card_plugin.c46 if (!node || !node->card_node || !node->dev_node) in snd_utils_get_int()
54 if (!node || !node->card_node || !node->dev_node) in snd_utils_get_str()
65 if (node->card_node) in snd_utils_close_dev_node()
66 node->ops->close_card(node->card_node); in snd_utils_close_dev_node()
78 if (!node || !node->card_node || !node->dev_node) in snd_utils_get_node_type()
114 node->card_node = node->ops->open_card(card); in snd_utils_open_dev_node()
115 if (!node->card_node) in snd_utils_open_dev_node()
119 node->dev_node = node->ops->get_pcm(node->card_node, device); in snd_utils_open_dev_node()
121 node->dev_node = node->ops->get_mixer(node->card_node); in snd_utils_open_dev_node()
130 node->ops->close_card(node->card_node); in snd_utils_open_dev_node()
Dsnd_card_plugin.h42 void *card_node; member
/external/tinycompress/
Dsnd_utils.c46 if (!node || !node->card_node || !node->dev_node) in snd_utils_get_int()
54 if (!node || !node->card_node || !node->dev_node) in snd_utils_get_str()
65 if (node->card_node) in snd_utils_put_dev_node()
66 node->put_card(node->card_node); in snd_utils_put_dev_node()
78 if (!node || !node->card_node || !node->dev_node) in snd_utils_get_node_type()
129 node->card_node = node->get_card(card); in snd_utils_get_dev_node()
130 if (!node->card_node) in snd_utils_get_dev_node()
133 node->dev_node = node->get_node(node->card_node, in snd_utils_get_dev_node()
141 node->put_card(node->card_node); in snd_utils_get_dev_node()
Dsnd_utils.h37 void *card_node; member
/external/tinyalsa/
Dsnd_utils.c46 if (!node || !node->card_node || !node->dev_node) in snd_utils_get_int()
54 if (!node || !node->card_node || !node->dev_node) in snd_utils_get_str()
65 if (node->card_node) in snd_utils_put_dev_node()
66 node->put_card(node->card_node); in snd_utils_put_dev_node()
78 if (!node || !node->card_node || !node->dev_node) in snd_utils_get_node_type()
129 node->card_node = node->get_card(card); in snd_utils_get_dev_node()
130 if (!node->card_node) in snd_utils_get_dev_node()
133 node->dev_node = node->get_node(node->card_node, in snd_utils_get_dev_node()
141 node->put_card(node->card_node); in snd_utils_get_dev_node()
Dsnd_utils.h37 void *card_node; member
/external/tinyalsa_new/examples/sndcardparser/
Dsample_sndcardparser.c147 void snd_card_def_close_card(void *card_node) in snd_card_def_close_card() argument
149 struct snd_dev_def_card *defs = (struct snd_dev_def_card *)card_node; in snd_card_def_close_card()
170 void *snd_card_def_get_node(void *card_node, unsigned int id, int type) in snd_card_def_get_node() argument
172 struct snd_dev_def_card *card_def = (struct snd_dev_def_card *)card_node; in snd_card_def_get_node()
247 void *snd_card_def_get_pcm(void *card_node, unsigned int id) in snd_card_def_get_pcm() argument
249 return snd_card_def_get_node(card_node, id, NODE_PCM); in snd_card_def_get_pcm()
252 void *snd_card_def_get_compress(void *card_node, unsigned int id) in snd_card_def_get_compress() argument
254 return snd_card_def_get_node(card_node, id, NODE_COMPR); in snd_card_def_get_compress()
257 void *snd_card_def_get_mixer(void *card_node) in snd_card_def_get_mixer() argument
259 return snd_card_def_get_node(card_node, 1, NODE_MIXER); in snd_card_def_get_mixer()