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
100 SNDRV_HWDEP_IFACE_FW_FIREWORKS, /* Echo Audio Fireworks based device */100 SNDRV_HWDEP_IFACE_FW_FIREWORKS, /* Echo Audio Fireworks based device */
101 SNDRV_HWDEP_IFACE_FW_BEBOB, /* BridgeCo BeBoB based device */101 SNDRV_HWDEP_IFACE_FW_BEBOB, /* BridgeCo BeBoB based device */
102 SNDRV_HWDEP_IFACE_FW_OXFW, /* Oxford OXFW970/971 based device */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 /* Don't forget to change the following: */105 /* Don't forget to change the following: */
105 SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_OXFW106 SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_DIGI00X
106};107};
107 108
108struct snd_hwdep_info {109struct snd_hwdep_info {
include/uapi/sound/firewire.h+1−0
@@ -56,6 +56,7 @@ union snd_firewire_event { · 55 unmodified lines
56#define SNDRV_FIREWIRE_TYPE_FIREWORKS 256#define SNDRV_FIREWIRE_TYPE_FIREWORKS 2
57#define SNDRV_FIREWIRE_TYPE_BEBOB 357#define SNDRV_FIREWIRE_TYPE_BEBOB 3
58#define SNDRV_FIREWIRE_TYPE_OXFW 458#define SNDRV_FIREWIRE_TYPE_OXFW 4
59#define SNDRV_FIREWIRE_TYPE_DIGI00X 5
59/* RME, MOTU, ... */60/* RME, MOTU, ... */
60 61
61struct snd_firewire_get_info {62struct 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