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.
Showing the changes to include/uapi (2 of 9 files). Show all
Unified · Split
| @@ -108,9 +108,10 @@ enum { · 107 unmodified lines | |||
| 108 | SNDRV_HWDEP_IFACE_FW_TASCAM, /* TASCAM FireWire series */ | 108 | SNDRV_HWDEP_IFACE_FW_TASCAM, /* TASCAM FireWire series */ |
| 109 | SNDRV_HWDEP_IFACE_LINE6, /* Line6 USB processors */ | 109 | SNDRV_HWDEP_IFACE_LINE6, /* Line6 USB processors */ |
| 110 | SNDRV_HWDEP_IFACE_FW_MOTU, /* MOTU FireWire series */ | 110 | SNDRV_HWDEP_IFACE_FW_MOTU, /* MOTU FireWire series */ |
| 111 | SNDRV_HWDEP_IFACE_FW_FIREFACE, /* RME Fireface series */ | ||
| 111 | 112 | ||
| 112 | /* Don't forget to change the following: */ | 113 | /* Don't forget to change the following: */ |
| 113 | SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_MOTU | 114 | SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_FIREFACE |
| 114 | }; | 115 | }; |
| 115 | 116 | ||
| 116 | struct snd_hwdep_info { | 117 | struct snd_hwdep_info { |
| @@ -73,7 +73,7 @@ union snd_firewire_event { · 72 unmodified lines | |||
| 73 | #define SNDRV_FIREWIRE_TYPE_DIGI00X 5 | 73 | #define SNDRV_FIREWIRE_TYPE_DIGI00X 5 |
| 74 | #define SNDRV_FIREWIRE_TYPE_TASCAM 6 | 74 | #define SNDRV_FIREWIRE_TYPE_TASCAM 6 |
| 75 | #define SNDRV_FIREWIRE_TYPE_MOTU 7 | 75 | #define SNDRV_FIREWIRE_TYPE_MOTU 7 |
| 76 | /* RME... */ | 76 | #define SNDRV_FIREWIRE_TYPE_FIREFACE 8 |
| 77 | 77 | ||
| 78 | struct snd_firewire_get_info { | 78 | struct snd_firewire_get_info { |
| 79 | unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ | 79 | unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ |