History

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.

Takashi Sakamoto committed 9 years ago

Commit f656edd1 parent 4b316439 files · +270 −6Browse files

Showing the changes to include/uapi (2 of 9 files). Show all

Unified · Split

2 files
  1. include/uapi/sound/asound.h +2 −1
  2. include/uapi/sound/firewire.h +1 −1
include/uapi/sound/asound.h+2−1
@@ -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_MOTU114 SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_FIREFACE
114};115};
115 116
116struct snd_hwdep_info {117struct snd_hwdep_info {
include/uapi/sound/firewire.h+1−1
@@ -73,7 +73,7 @@ union snd_firewire_event { · 72 unmodified lines
73#define SNDRV_FIREWIRE_TYPE_DIGI00X 573#define SNDRV_FIREWIRE_TYPE_DIGI00X 5
74#define SNDRV_FIREWIRE_TYPE_TASCAM 674#define SNDRV_FIREWIRE_TYPE_TASCAM 6
75#define SNDRV_FIREWIRE_TYPE_MOTU 775#define SNDRV_FIREWIRE_TYPE_MOTU 7
76/* RME... */76#define SNDRV_FIREWIRE_TYPE_FIREFACE 8
77 77
78struct snd_firewire_get_info {78struct snd_firewire_get_info {
79 unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */79 unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t