Commit 502f271a authored by Eliot Blennerhassett's avatar Eliot Blennerhassett Committed by Takashi Iwai

ALSA: asihpi - Update node types.

Add "Internal" node type.
Remove GPI and GPO node types.
Signed-off-by: default avatarEliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 09c728ac
...@@ -1317,7 +1317,7 @@ static const char * const asihpi_src_names[] = { ...@@ -1317,7 +1317,7 @@ static const char * const asihpi_src_names[] = {
"Analog", "Analog",
"Adapter", "Adapter",
"RTP", "RTP",
"GPI", "Internal"
}; };
compile_time_assert( compile_time_assert(
...@@ -1335,7 +1335,6 @@ static const char * const asihpi_dst_names[] = { ...@@ -1335,7 +1335,6 @@ static const char * const asihpi_dst_names[] = {
"Net", "Net",
"Analog", "Analog",
"RTP", "RTP",
"GPO",
}; };
compile_time_assert( compile_time_assert(
......
...@@ -195,7 +195,7 @@ enum HPI_SOURCENODES { ...@@ -195,7 +195,7 @@ enum HPI_SOURCENODES {
/** RTP stream input node - This node is a destination for /** RTP stream input node - This node is a destination for
packets of RTP audio samples from other devices. */ packets of RTP audio samples from other devices. */
HPI_SOURCENODE_RTP_DESTINATION = 112, HPI_SOURCENODE_RTP_DESTINATION = 112,
HPI_SOURCENODE_GP_IN = 113, /**< general purpose input. */ HPI_SOURCENODE_INTERNAL = 113, /**< node internal to the device. */
/* !!!Update this AND hpidebug.h if you add a new sourcenode type!!! */ /* !!!Update this AND hpidebug.h if you add a new sourcenode type!!! */
HPI_SOURCENODE_LAST_INDEX = 113 /**< largest ID */ HPI_SOURCENODE_LAST_INDEX = 113 /**< largest ID */
/* AX6 max sourcenode types = 15 */ /* AX6 max sourcenode types = 15 */
...@@ -224,9 +224,8 @@ enum HPI_DESTNODES { ...@@ -224,9 +224,8 @@ enum HPI_DESTNODES {
/** RTP stream output node - This node is a source for /** RTP stream output node - This node is a source for
packets of RTP audio samples that are sent to other devices. */ packets of RTP audio samples that are sent to other devices. */
HPI_DESTNODE_RTP_SOURCE = 208, HPI_DESTNODE_RTP_SOURCE = 208,
HPI_DESTNODE_GP_OUT = 209, /**< general purpose output node. */
/* !!!Update this AND hpidebug.h if you add a new destnode type!!! */ /* !!!Update this AND hpidebug.h if you add a new destnode type!!! */
HPI_DESTNODE_LAST_INDEX = 209 /**< largest ID */ HPI_DESTNODE_LAST_INDEX = 208 /**< largest ID */
/* AX6 max destnode types = 15 */ /* AX6 max destnode types = 15 */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment