summaryrefslogtreecommitdiffstats
path: root/sound/firewire/dice/dice.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2014-11-29 00:59:16 +0900
committerTakashi Iwai <tiwai@suse.de>2014-11-29 20:08:19 +0100
commit19af57b46dda93b34902739673d5f37d8c6d0d5f (patch)
tree6eb983feabcefeea8dd0834a4b3caf95ba496995 /sound/firewire/dice/dice.h
parentc50fb91f53626e3bdae3ffebfee586786f970f7c (diff)
downloadlinux-19af57b46dda93b34902739673d5f37d8c6d0d5f.tar.bz2
ALSA: dice: Split hwdep functionality into a file
This commit adds a file and move some codes related to hwdep functionality. This interface is designed for mixer/control application. By using hwdep interface, the application can get information about firewire node, can lock/unlock kernel streaming and can get notification at starting/stopping kernel streaming. Additionally, this interface give a way to read Dice notification. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/dice/dice.h')
-rw-r--r--sound/firewire/dice/dice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/firewire/dice/dice.h b/sound/firewire/dice/dice.h
index 4d9e55ba895b..dcc8c789cd43 100644
--- a/sound/firewire/dice/dice.h
+++ b/sound/firewire/dice/dice.h
@@ -173,4 +173,6 @@ void snd_dice_stream_lock_release(struct snd_dice *dice);
int snd_dice_create_pcm(struct snd_dice *dice);
+int snd_dice_create_hwdep(struct snd_dice *dice);
+
#endif