Mercurial > mplayer.hg
comparison libao2/ao_alsa9.c @ 3129:6d965759dd01
ao_subdevice fixed. 10l...
author | arpi |
---|---|
date | Mon, 26 Nov 2001 00:49:39 +0000 |
parents | 981a9e5118ce |
children | 168b7ed7ec55 |
comparison
equal
deleted
inserted
replaced
3128:392316004607 | 3129:6d965759dd01 |
---|---|
154 { | 154 { |
155 printf("alsa-init: memory allocation error: %s\n", snd_strerror(err)); | 155 printf("alsa-init: memory allocation error: %s\n", snd_strerror(err)); |
156 return(0); | 156 return(0); |
157 } | 157 } |
158 | 158 |
159 if (ao_data.subdevice != NULL) | 159 if (ao_subdevice != NULL) |
160 alsa_device = ao_data.subdevice; | 160 alsa_device = ao_subdevice; |
161 | 161 |
162 if (alsa_device == NULL) | 162 if (alsa_device == NULL) |
163 { | 163 { |
164 if ((alsa_device = malloc(ALSA_DEVICE_SIZE)) == NULL) | 164 if ((alsa_device = malloc(ALSA_DEVICE_SIZE)) == NULL) |
165 { | 165 { |