OSDN Git Service

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 5d6d4ad..d2d3bed 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)