From: Jaroslav Kysela Date: Thu, 19 Apr 2001 08:31:38 +0000 (+0000) Subject: Added code for pcm_surround_next_device X-Git-Tag: v1.0.3~879 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=f12e938abd730983512da675390059c6df2bc83b;p=alsa-lib.git Added code for pcm_surround_next_device --- 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)