]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Added code for pcm_surround_next_device
authorJaroslav Kysela <perex@perex.cz>
Thu, 19 Apr 2001 08:31:38 +0000 (08:31 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 19 Apr 2001 08:31:38 +0000 (08:31 +0000)
src/control/control_hw.c

index 5d6d4addaab9ee7aa147965326b339f600b79607..d2d3bed77a3e6a710de446815be146de7c048bbe 100644 (file)
@@ -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)