aboutsummaryrefslogtreecommitdiff
path: root/include/aserver.h
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2001-04-13 10:54:56 +0000
committerJaroslav Kysela <perex@perex.cz>2001-04-13 10:54:56 +0000
commitc4f95f48c3ff9fdc7d899a1f73941300aadfb4eb (patch)
treed2fe07b5df36c4d9ddd186d2868e6356fdb1f790 /include/aserver.h
parentedaf7fdf2c9b48e7b669bec41416e459054014f4 (diff)
Added the surround plugin to allow simple access for 4.0 and 5.1 speakers.
It needs a bit more work to make it functional.
Diffstat (limited to 'include/aserver.h')
-rw-r--r--include/aserver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/aserver.h b/include/aserver.h
index 8f900416..9b97d150 100644
--- a/include/aserver.h
+++ b/include/aserver.h
@@ -89,6 +89,7 @@ typedef struct {
#define SND_CTL_IOCTL_CLOSE _IO ('U', 0xf2)
#define SND_CTL_IOCTL_POLL_DESCRIPTOR _IO ('U', 0xf3)
#define SND_CTL_IOCTL_ASYNC _IO ('U', 0xf4)
+#define SND_CTL_IOCTL_PCM_SURROUND_NEXT_DEVICE _IO ('U', 0xf5)
typedef struct {
int result;
@@ -99,6 +100,10 @@ typedef struct {
pid_t pid;
} async;
int device;
+ struct {
+ int type;
+ int device;
+ } surround;
int subscribe_events;
snd_ctl_card_info_t card_info;
snd_ctl_elem_list_t element_list;