alsa/0019-Sync-enum-snd_hwdep_iface_t-with-include-asound-asou.patch
Takashi Iwai f5a558bb92 Accepting request 246456 from home:tiwai:branches:multimedia:libs
- Yet more DSD fix, hwdep iface sync with the recent kernel, and a
  minor documentation fix from upstream:
  0019-Sync-enum-snd_hwdep_iface_t-with-include-asound-asou.patch
  0020-pcm-2nd-round-of-pcm_misc-DSD-fixes.patch
  0021-doc-fix-cross-compiling-example.patch

OBS-URL: https://build.opensuse.org/request/show/246456
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=168
2014-08-26 11:46:46 +00:00

39 lines
1.5 KiB
Diff

From dfc3bf97bf45bd78d498d20fcf930541350f836d Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Date: Mon, 18 Aug 2014 18:45:17 +0900
Subject: [PATCH] Sync enum snd_hwdep_iface_t with include/asound/asound.h
Some members in this enumerated type has not updated for 9 years, although
kernel-drivers added them during this period. This commit adds them following
to a commit 87df9f3 'sync include/asound/asound.h with 3.17-rc1 kernel'.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
include/hwdep.h | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/include/hwdep.h b/include/hwdep.h
index ab12822cf799..6496fa2d7d87 100644
--- a/include/hwdep.h
+++ b/include/hwdep.h
@@ -68,8 +68,13 @@ typedef enum _snd_hwdep_iface {
SND_HWDEP_IFACE_USX2Y_PCM, /**< Tascam US122, US224 & US428 raw USB PCM */
SND_HWDEP_IFACE_PCXHR, /**< Digigram PCXHR */
SND_HWDEP_IFACE_SB_RC, /**< SB Extigy/Audigy2NX remote control */
-
- SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_SB_RC /**< last known hwdep interface */
+ SND_HWDEP_IFACE_HDA, /**< HD-audio */
+ SND_HWDEP_IFACE_USB_STREAM, /**< direct access to usb stream */
+ SND_HWDEP_IFACE_FW_DICE, /**< TC DICE FireWire device */
+ SND_HWDEP_IFACE_FW_FIREWORKS, /**< Echo Audio Fireworks based device */
+ SND_HWDEP_IFACE_FW_BEBOB, /**< BridgeCo BeBoB based device */
+
+ SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_FW_BEBOB /**< last known hwdep interface */
} snd_hwdep_iface_t;
/** open for reading */
--
2.1.0