ALSA: fireface: add hwdep interface
This commit adds hwdep interface so as the other drivers for audio and music units on IEEE 1394 have. This interface is designed for mixer/control applications. By using this interface, an application can get information about firewire node, can lock/unlock kernel streaming and can get notification at starting/stopping kernel streaming. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Takashi Iwai
parent
4b316436ab
commit
f656edd5fb
@@ -108,9 +108,10 @@ enum {
|
||||
SNDRV_HWDEP_IFACE_FW_TASCAM, /* TASCAM FireWire series */
|
||||
SNDRV_HWDEP_IFACE_LINE6, /* Line6 USB processors */
|
||||
SNDRV_HWDEP_IFACE_FW_MOTU, /* MOTU FireWire series */
|
||||
SNDRV_HWDEP_IFACE_FW_FIREFACE, /* RME Fireface series */
|
||||
|
||||
/* Don't forget to change the following: */
|
||||
SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_MOTU
|
||||
SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_FIREFACE
|
||||
};
|
||||
|
||||
struct snd_hwdep_info {
|
||||
|
||||
@@ -73,7 +73,7 @@ union snd_firewire_event {
|
||||
#define SNDRV_FIREWIRE_TYPE_DIGI00X 5
|
||||
#define SNDRV_FIREWIRE_TYPE_TASCAM 6
|
||||
#define SNDRV_FIREWIRE_TYPE_MOTU 7
|
||||
/* RME... */
|
||||
#define SNDRV_FIREWIRE_TYPE_FIREFACE 8
|
||||
|
||||
struct snd_firewire_get_info {
|
||||
unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */
|
||||
|
||||
Reference in New Issue
Block a user