Commit b7f12482 authored by Eliot Blennerhassett's avatar Eliot Blennerhassett Committed by Takashi Iwai

ALSA: asihpi - Add new node and message defines

Signed-off-by: default avatarEliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 33162d2d
...@@ -211,8 +211,12 @@ enum HPI_SOURCENODES { ...@@ -211,8 +211,12 @@ enum HPI_SOURCENODES {
HPI_SOURCENODE_COBRANET = 109, HPI_SOURCENODE_COBRANET = 109,
HPI_SOURCENODE_ANALOG = 110, /**< analog input node. */ HPI_SOURCENODE_ANALOG = 110, /**< analog input node. */
HPI_SOURCENODE_ADAPTER = 111, /**< adapter node. */ HPI_SOURCENODE_ADAPTER = 111, /**< adapter node. */
/** RTP stream input node - This node is a destination for
packets of RTP audio samples from other devices. */
HPI_SOURCENODE_RTP_DESTINATION = 112,
HPI_SOURCENODE_GP_IN = 113, /**< general purpose input. */
/* !!!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 = 111 /**< largest ID */ HPI_SOURCENODE_LAST_INDEX = 113 /**< largest ID */
/* AX6 max sourcenode types = 15 */ /* AX6 max sourcenode types = 15 */
}; };
...@@ -228,7 +232,7 @@ enum HPI_DESTNODES { ...@@ -228,7 +232,7 @@ enum HPI_DESTNODES {
HPI_DESTNODE_NONE = 200, HPI_DESTNODE_NONE = 200,
/** In Stream (Record) node. */ /** In Stream (Record) node. */
HPI_DESTNODE_ISTREAM = 201, HPI_DESTNODE_ISTREAM = 201,
HPI_DESTNODE_LINEOUT = 202, /**< line out node. */ HPI_DESTNODE_LINEOUT = 202, /**< line out node. */
HPI_DESTNODE_AESEBU_OUT = 203, /**< AES/EBU output node. */ HPI_DESTNODE_AESEBU_OUT = 203, /**< AES/EBU output node. */
HPI_DESTNODE_RF = 204, /**< RF output node. */ HPI_DESTNODE_RF = 204, /**< RF output node. */
HPI_DESTNODE_SPEAKER = 205, /**< speaker output node. */ HPI_DESTNODE_SPEAKER = 205, /**< speaker output node. */
...@@ -236,9 +240,12 @@ enum HPI_DESTNODES { ...@@ -236,9 +240,12 @@ enum HPI_DESTNODES {
Audio samples from the device are sent out on the Cobranet network.*/ Audio samples from the device are sent out on the Cobranet network.*/
HPI_DESTNODE_COBRANET = 206, HPI_DESTNODE_COBRANET = 206,
HPI_DESTNODE_ANALOG = 207, /**< analog output node. */ HPI_DESTNODE_ANALOG = 207, /**< analog output node. */
/** RTP stream output node - This node is a source for
packets of RTP audio samples that are sent to other devices. */
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 = 207 /**< largest ID */ HPI_DESTNODE_LAST_INDEX = 209 /**< largest ID */
/* AX6 max destnode types = 15 */ /* AX6 max destnode types = 15 */
}; };
......
/****************************************************************************** /******************************************************************************
AudioScience HPI driver AudioScience HPI driver
Copyright (C) 1997-2010 AudioScience Inc. <support@audioscience.com> Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com>
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as it under the terms of version 2 of the GNU General Public License as
...@@ -361,7 +361,9 @@ enum HPI_MESSAGE_TYPES { ...@@ -361,7 +361,9 @@ enum HPI_MESSAGE_TYPES {
HPI_TYPE_REQUEST = 1, HPI_TYPE_REQUEST = 1,
HPI_TYPE_RESPONSE = 2, HPI_TYPE_RESPONSE = 2,
HPI_TYPE_DATA = 3, HPI_TYPE_DATA = 3,
HPI_TYPE_SSX2BYPASS_MESSAGE = 4 HPI_TYPE_SSX2BYPASS_MESSAGE = 4,
HPI_TYPE_COMMAND = 5,
HPI_TYPE_NOTIFICATION = 6
}; };
enum HPI_OBJECT_TYPES { enum HPI_OBJECT_TYPES {
......
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