History

ALSA: oxfw: Add hwdep interface

This interface is designed for mixer/control application. 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 8985f4a1 parent 05588d310 files · +280 −4Browse files

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

Unified · Split

2 files
  1. include/uapi/sound/asound.h +2 −1
  2. include/uapi/sound/firewire.h +2 −1
include/uapi/sound/asound.h+2−1
@@ -96,9 +96,10 @@ enum { · 95 unmodified lines
96 SNDRV_HWDEP_IFACE_FW_DICE, /* TC DICE FireWire device */96 SNDRV_HWDEP_IFACE_FW_DICE, /* TC DICE FireWire device */
97 SNDRV_HWDEP_IFACE_FW_FIREWORKS, /* Echo Audio Fireworks based device */97 SNDRV_HWDEP_IFACE_FW_FIREWORKS, /* Echo Audio Fireworks based device */
98 SNDRV_HWDEP_IFACE_FW_BEBOB, /* BridgeCo BeBoB based device */98 SNDRV_HWDEP_IFACE_FW_BEBOB, /* BridgeCo BeBoB based device */
99 SNDRV_HWDEP_IFACE_FW_OXFW, /* Oxford OXFW970/971 based device */
99 100
100 /* Don't forget to change the following: */101 /* Don't forget to change the following: */
101 SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_BEBOB102 SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_OXFW
102};103};
103 104
104struct snd_hwdep_info {105struct snd_hwdep_info {
include/uapi/sound/firewire.h+2−1
@@ -55,7 +55,8 @@ union snd_firewire_event { · 54 unmodified lines
55#define SNDRV_FIREWIRE_TYPE_DICE 155#define SNDRV_FIREWIRE_TYPE_DICE 1
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/* AV/C, RME, MOTU, ... */58#define SNDRV_FIREWIRE_TYPE_OXFW 4
59/* RME, MOTU, ... */
59 60
60struct snd_firewire_get_info {61struct snd_firewire_get_info {
61 unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */62 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