changeset 3129:6d965759dd01

ao_subdevice fixed. 10l...
author arpi
date Mon, 26 Nov 2001 00:49:39 +0000
parents 392316004607
children 623cdb771e97
files libao2/ao_alsa1x.c libao2/ao_alsa9.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_alsa1x.c	Mon Nov 26 00:47:58 2001 +0000
+++ b/libao2/ao_alsa1x.c	Mon Nov 26 00:49:39 2001 +0000
@@ -156,8 +156,8 @@
 	return(0);
     }
 
-    if (ao_data.subdevice != NULL)
-	alsa_device = ao_data.subdevice;
+    if (ao_subdevice != NULL)
+	alsa_device = ao_subdevice;
 
     if (alsa_device == NULL)
     {
--- a/libao2/ao_alsa9.c	Mon Nov 26 00:47:58 2001 +0000
+++ b/libao2/ao_alsa9.c	Mon Nov 26 00:49:39 2001 +0000
@@ -156,8 +156,8 @@
 	return(0);
     }
 
-    if (ao_data.subdevice != NULL)
-	alsa_device = ao_data.subdevice;
+    if (ao_subdevice != NULL)
+	alsa_device = ao_subdevice;
 
     if (alsa_device == NULL)
     {