From f12e938abd730983512da675390059c6df2bc83b Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 19 Apr 2001 08:31:38 +0000 Subject: [PATCH] Added code for pcm_surround_next_device --- src/control/control_hw.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/control/control_hw.c b/src/control/control_hw.c index 5d6d4add..d2d3bed7 100644 --- a/src/control/control_hw.c +++ b/src/control/control_hw.c @@ -187,10 +187,11 @@ static int snd_ctl_hw_pcm_next_device(snd_ctl_t *handle, int * device) return 0; } +extern int snd_pcm_surround_next_device(snd_ctl_t *ctl, snd_pcm_surround_type_t type, int *device); + static int snd_ctl_hw_pcm_surround_next_device(snd_ctl_t *handle, snd_pcm_surround_type_t type, int * device) { - snd_ctl_hw_t *hw = handle->private_data; - return 0; + return snd_pcm_surround_next_device(handle, type, device); } static int snd_ctl_hw_pcm_info(snd_ctl_t *handle, snd_pcm_info_t * info) -- 2.47.3