This commit adds hwdep interface so as the other sound drivers for units on IEEE 1394 bus 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.
Showing the changes to include/uapi (2 of 9 files). Show all
Unified · Split
| @@ -100,9 +100,10 @@ enum { · 99 unmodified lines | ||
| 100 | 100 | SNDRV_HWDEP_IFACE_FW_FIREWORKS, /* Echo Audio Fireworks based device */ |
| 101 | 101 | SNDRV_HWDEP_IFACE_FW_BEBOB, /* BridgeCo BeBoB based device */ |
| 102 | 102 | SNDRV_HWDEP_IFACE_FW_OXFW, /* Oxford OXFW970/971 based device */ |
| 103 | + SNDRV_HWDEP_IFACE_FW_DIGI00X, /* Digidesign Digi 002/003 family */ | |
| 103 | 104 | |
| 104 | 105 | /* Don't forget to change the following: */ |
| 105 | − SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_OXFW | |
| 106 | + SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_DIGI00X | |
| 106 | 107 | }; |
| 107 | 108 | |
| 108 | 109 | struct snd_hwdep_info { |
| @@ -56,6 +56,7 @@ union snd_firewire_event { · 55 unmodified lines | ||
| 56 | 56 | #define SNDRV_FIREWIRE_TYPE_FIREWORKS 2 |
| 57 | 57 | #define SNDRV_FIREWIRE_TYPE_BEBOB 3 |
| 58 | 58 | #define SNDRV_FIREWIRE_TYPE_OXFW 4 |
| 59 | +#define SNDRV_FIREWIRE_TYPE_DIGI00X 5 | |
| 59 | 60 | /* RME, MOTU, ... */ |
| 60 | 61 | |
| 61 | 62 | struct snd_firewire_get_info { |