diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2014-04-25 09:45:12 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-26 08:28:41 -0400 |
commit | 594ddced821dee39a548efe46d7f834bae013505 (patch) | |
tree | c0abaae51d84ef71127c3db3797130eb61701001 /include/uapi/sound | |
parent | aa02bb6e60783938d61eefe38346781a646800a6 (diff) |
ALSA: fireworks: Add hwdep interface
This interface is designed for mixer/control application. To use hwdep
interface, the 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>
Diffstat (limited to 'include/uapi/sound')
-rw-r--r-- | include/uapi/sound/asound.h | 3 | ||||
-rw-r--r-- | include/uapi/sound/firewire.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h index 9fc6219d3848..5dfbfdfd2d12 100644 --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h | |||
@@ -94,9 +94,10 @@ enum { | |||
94 | SNDRV_HWDEP_IFACE_HDA, /* HD-audio */ | 94 | SNDRV_HWDEP_IFACE_HDA, /* HD-audio */ |
95 | SNDRV_HWDEP_IFACE_USB_STREAM, /* direct access to usb stream */ | 95 | SNDRV_HWDEP_IFACE_USB_STREAM, /* direct access to usb stream */ |
96 | SNDRV_HWDEP_IFACE_FW_DICE, /* TC DICE FireWire device */ | 96 | SNDRV_HWDEP_IFACE_FW_DICE, /* TC DICE FireWire device */ |
97 | SNDRV_HWDEP_IFACE_FW_FIREWORKS, /* Echo Audio Fireworks based device */ | ||
97 | 98 | ||
98 | /* Don't forget to change the following: */ | 99 | /* Don't forget to change the following: */ |
99 | SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_DICE | 100 | SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_FIREWORKS |
100 | }; | 101 | }; |
101 | 102 | ||
102 | struct snd_hwdep_info { | 103 | struct snd_hwdep_info { |
diff --git a/include/uapi/sound/firewire.h b/include/uapi/sound/firewire.h index 59f5961302bf..fc9afb261989 100644 --- a/include/uapi/sound/firewire.h +++ b/include/uapi/sound/firewire.h | |||
@@ -34,7 +34,8 @@ union snd_firewire_event { | |||
34 | #define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa) | 34 | #define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa) |
35 | 35 | ||
36 | #define SNDRV_FIREWIRE_TYPE_DICE 1 | 36 | #define SNDRV_FIREWIRE_TYPE_DICE 1 |
37 | /* Fireworks, AV/C, RME, MOTU, ... */ | 37 | #define SNDRV_FIREWIRE_TYPE_FIREWORKS 2 |
38 | /* AV/C, RME, MOTU, ... */ | ||
38 | 39 | ||
39 | struct snd_firewire_get_info { | 40 | struct snd_firewire_get_info { |
40 | unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ | 41 | unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ |