History

ALSA: firewire-digi00x: add hwdep interface

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.

Takashi Sakamoto committed 11 years ago

Commit 660dd3d1 parent 0120d0f9 files · +273 −8Browse 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 −0
include/uapi/sound/asound.h+2−1
@@ -100,9 +100,10 @@ enum { · 99 unmodified lines
100100 SNDRV_HWDEP_IFACE_FW_FIREWORKS, /* Echo Audio Fireworks based device */
101101 SNDRV_HWDEP_IFACE_FW_BEBOB, /* BridgeCo BeBoB based device */
102102 SNDRV_HWDEP_IFACE_FW_OXFW, /* Oxford OXFW970/971 based device */
103+ SNDRV_HWDEP_IFACE_FW_DIGI00X, /* Digidesign Digi 002/003 family */
103104
104105 /* 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
106107 };
107108
108109 struct snd_hwdep_info {
include/uapi/sound/firewire.h+1−0
@@ -56,6 +56,7 @@ union snd_firewire_event { · 55 unmodified lines
5656 #define SNDRV_FIREWIRE_TYPE_FIREWORKS 2
5757 #define SNDRV_FIREWIRE_TYPE_BEBOB 3
5858 #define SNDRV_FIREWIRE_TYPE_OXFW 4
59+#define SNDRV_FIREWIRE_TYPE_DIGI00X 5
5960 /* RME, MOTU, ... */
6061
6162 struct snd_firewire_get_info {

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