diff options
author | Jaroslav Kysela <perex@perex.cz> | 2001-04-13 10:54:56 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2001-04-13 10:54:56 +0000 |
commit | c4f95f48c3ff9fdc7d899a1f73941300aadfb4eb (patch) | |
tree | d2fe07b5df36c4d9ddd186d2868e6356fdb1f790 /aserver | |
parent | edaf7fdf2c9b48e7b669bec41416e459054014f4 (diff) | |
download | alsa-lib-c4f95f48c3ff9fdc7d899a1f73941300aadfb4eb.tar.gz |
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 'aserver')
-rw-r--r-- | aserver/aserver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/aserver/aserver.c b/aserver/aserver.c index 57d67531..8f05587b 100644 --- a/aserver/aserver.c +++ b/aserver/aserver.c @@ -609,6 +609,9 @@ static int ctl_shm_cmd(client_t *client) case SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE: ctrl->result = snd_ctl_pcm_next_device(ctl, &ctrl->u.device); break; + case SND_CTL_IOCTL_PCM_SURROUND_NEXT_DEVICE: + ctrl->result = snd_ctl_pcm_surround_next_device(ctl, &ctrl->u.surround.type, &ctrl->u.surround.device); + break; case SNDRV_CTL_IOCTL_PCM_INFO: ctrl->result = snd_ctl_pcm_info(ctl, &ctrl->u.pcm_info); break; |